HSL(231, 67%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,67%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 67%, 62%) | color: hsl(231, 67%, 62%) | |
| HEX | #5D71DF | color: #5D71DF | |
| RGB | rgb(93, 113, 223) | color: rgb(93, 113, 223) | |
| CMYK | cmyk(58%, 49%, 0%, 13%) | — | |
| HSV | hsv(231, 58%, 87%) | — | |
| HWB | hwb(231 37% 13%) | color: hwb(231 37% 13%) | |
| OKLCH | oklch(0.589 0.1677 272.5) | color: oklch(0.589 0.1677 272.5) | |
| Lab | lab(51.22 25.1 -58.58) | color: lab(51.22 25.1 -58.58) | |
| LCH | lch(51.22 63.73 293.19) | color: lch(51.22 63.73 293.19) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6666C4 — rgb(102, 102, 196)
Deuteranopia (Green-blind)
#6563BE — rgb(101, 99, 190)
Tritanopia (Blue-blind)
#5EAFAB — rgb(94, 175, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 67%, 62%);
text
color: hsl(231, 67%, 62%);
border
border: 2px solid hsl(231, 67%, 62%);
gradient light
background: linear-gradient(to right, hsl(231, 67%, 82%), hsl(231, 67%, 62%));
gradient dark
background: linear-gradient(to right, hsl(231, 67%, 62%), hsl(231, 67%, 42%))
hex
background-color: #5D71DF;
tailwind
bg-[hsl(231,67%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 67%, 62%, 0.4);
css variable
--color-primary: hsl(231, 67%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 67%, 62%)?
HEX: #5D71DF | RGB: rgb(93, 113, 223) | CMYK: 58%, 49%, 0%, 13% | HSV: 231°, 58%, 87%. Copy any format from the conversion table above.
What colors go well with #5D71DF?
The complementary color is HSL(51, 67%, 62%). 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, 67%, 62%) in CSS?
As HSL: color: hsl(231, 67%, 62%); — As HEX: color: #5D71DF; — As RGB: color: rgb(93, 113, 223); — Tailwind CSS: bg-[hsl(231,67%,62%)] — CSS variable: --color-primary: hsl(231, 67%, 62%);