HSL(231, 64%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,64%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 64%, 56%) | color: hsl(231, 64%, 56%) | |
| HEX | #475DD7 | color: #475DD7 | |
| RGB | rgb(71, 93, 215) | color: rgb(71, 93, 215) | |
| CMYK | cmyk(67%, 57%, 0%, 16%) | — | |
| HSV | hsv(231, 67%, 84%) | — | |
| HWB | hwb(231 28% 16%) | color: hwb(231 28% 16%) | |
| OKLCH | oklch(0.5321 0.1878 270.88) | color: oklch(0.5321 0.1878 270.88) | |
| Lab | lab(44.34 31.12 -65.23) | color: lab(44.34 31.12 -65.23) | |
| LCH | lch(44.34 72.27 295.5) | color: lch(44.34 72.27 295.5) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#5151B9 — rgb(81, 81, 185)
Deuteranopia (Green-blind)
#4F4EB2 — rgb(79, 78, 178)
Tritanopia (Blue-blind)
#48A29D — rgb(72, 162, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 64%, 56%);
text
color: hsl(231, 64%, 56%);
border
border: 2px solid hsl(231, 64%, 56%);
gradient light
background: linear-gradient(to right, hsl(231, 64%, 76%), hsl(231, 64%, 56%));
gradient dark
background: linear-gradient(to right, hsl(231, 64%, 56%), hsl(231, 64%, 36%))
hex
background-color: #475DD7;
tailwind
bg-[hsl(231,64%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 64%, 56%, 0.4);
css variable
--color-primary: hsl(231, 64%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 64%, 56%)?
HEX: #475DD7 | RGB: rgb(71, 93, 215) | CMYK: 67%, 57%, 0%, 16% | HSV: 231°, 67%, 84%. Copy any format from the conversion table above.
What colors go well with #475DD7?
The complementary color is HSL(51, 64%, 56%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 64%, 56%) in CSS?
As HSL: color: hsl(231, 64%, 56%); — As HEX: color: #475DD7; — As RGB: color: rgb(71, 93, 215); — Tailwind CSS: bg-[hsl(231,64%,56%)] — CSS variable: --color-primary: hsl(231, 64%, 56%);