HSL(206, 92%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(206,92%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(206, 92%, 23%) | color: hsl(206, 92%, 23%) | |
| HEX | #054271 | color: #054271 | |
| RGB | rgb(5, 66, 113) | color: rgb(5, 66, 113) | |
| CMYK | cmyk(96%, 42%, 0%, 56%) | — | |
| HSV | hsv(206, 96%, 44%) | — | |
| HWB | hwb(206 2% 56%) | color: hwb(206 2% 56%) | |
| OKLCH | oklch(0.371 0.0983 248.86) | color: oklch(0.371 0.0983 248.86) | |
| Lab | lab(27.07 1.56 -32.03) | color: lab(27.07 1.56 -32.03) | |
| LCH | lch(27.07 32.07 272.79) | color: lch(27.07 32.07 272.79) |
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)
#1F2066 — rgb(31, 32, 102)
Deuteranopia (Green-blind)
#1C1763 — rgb(28, 23, 99)
Tritanopia (Blue-blind)
#085D5B — rgb(8, 93, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(206, 92%, 23%);
text
color: hsl(206, 92%, 23%);
border
border: 2px solid hsl(206, 92%, 23%);
gradient light
background: linear-gradient(to right, hsl(206, 92%, 43%), hsl(206, 92%, 23%));
gradient dark
background: linear-gradient(to right, hsl(206, 92%, 23%), hsl(206, 92%, 3%))
hex
background-color: #054271;
tailwind
bg-[hsl(206,92%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(206, 92%, 23%, 0.4);
css variable
--color-primary: hsl(206, 92%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(206, 92%, 23%)?
HEX: #054271 | RGB: rgb(5, 66, 113) | CMYK: 96%, 42%, 0%, 56% | HSV: 206°, 96%, 44%. Copy any format from the conversion table above.
What colors go well with #054271?
The complementary color is HSL(26, 92%, 23%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(206, 92%, 23%) in CSS?
As HSL: color: hsl(206, 92%, 23%); — As HEX: color: #054271; — As RGB: color: rgb(5, 66, 113); — Tailwind CSS: bg-[hsl(206,92%,23%)] — CSS variable: --color-primary: hsl(206, 92%, 23%);