HSL(231, 22%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,22%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 22%, 43%) | color: hsl(231, 22%, 43%) | |
| HEX | #565D86 | color: #565D86 | |
| RGB | rgb(86, 93, 134) | color: rgb(86, 93, 134) | |
| CMYK | cmyk(36%, 31%, 0%, 47%) | — | |
| HSV | hsv(231, 36%, 53%) | — | |
| HWB | hwb(231 34% 47%) | color: hwb(231 34% 47%) | |
| OKLCH | oklch(0.4896 0.0664 276.22) | color: oklch(0.4896 0.0664 276.22) | |
| Lab | lab(40.46 7.86 -23.71) | color: lab(40.46 7.86 -23.71) | |
| LCH | lch(40.46 24.98 288.34) | color: lch(40.46 24.98 288.34) |
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)
#59597C — rgb(89, 89, 124)
Deuteranopia (Green-blind)
#59587A — rgb(89, 88, 122)
Tritanopia (Blue-blind)
#567473 — rgb(86, 116, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 22%, 43%);
text
color: hsl(231, 22%, 43%);
border
border: 2px solid hsl(231, 22%, 43%);
gradient light
background: linear-gradient(to right, hsl(231, 22%, 63%), hsl(231, 22%, 43%));
gradient dark
background: linear-gradient(to right, hsl(231, 22%, 43%), hsl(231, 22%, 23%))
hex
background-color: #565D86;
tailwind
bg-[hsl(231,22%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 22%, 43%, 0.4);
css variable
--color-primary: hsl(231, 22%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 22%, 43%)?
HEX: #565D86 | RGB: rgb(86, 93, 134) | CMYK: 36%, 31%, 0%, 47% | HSV: 231°, 36%, 53%. Copy any format from the conversion table above.
What colors go well with #565D86?
The complementary color is HSL(51, 22%, 43%). 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, 22%, 43%) in CSS?
As HSL: color: hsl(231, 22%, 43%); — As HEX: color: #565D86; — As RGB: color: rgb(86, 93, 134); — Tailwind CSS: bg-[hsl(231,22%,43%)] — CSS variable: --color-primary: hsl(231, 22%, 43%);