HSL(239, 90%, 23%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(239,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(239, 90%, 23%) | color: hsl(239, 90%, 23%) | |
| HEX | #06086F | color: #06086F | |
| RGB | rgb(6, 8, 111) | color: rgb(6, 8, 111) | |
| CMYK | cmyk(95%, 93%, 0%, 56%) | — | |
| HSV | hsv(239, 95%, 44%) | — | |
| HWB | hwb(239 2% 56%) | color: hwb(239 2% 56%) | |
| OKLCH | oklch(0.256 0.162 266.44) | color: oklch(0.256 0.162 266.44) | |
| Lab | lab(11.69 39.2 -55.88) | color: lab(11.69 39.2 -55.88) | |
| LCH | lch(11.69 68.26 305.05) | color: lch(11.69 68.26 305.05) |
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)
#070756 — rgb(7, 7, 86)
Deuteranopia (Green-blind)
#070750 — rgb(7, 7, 80)
Tritanopia (Blue-blind)
#06423E — rgb(6, 66, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(239, 90%, 23%);
text
color: hsl(239, 90%, 23%);
border
border: 2px solid hsl(239, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(239, 90%, 43%), hsl(239, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(239, 90%, 23%), hsl(239, 90%, 3%))
hex
background-color: #06086F;
tailwind
bg-[hsl(239,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(239, 90%, 23%, 0.4);
css variable
--color-primary: hsl(239, 90%, 23%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(239, 90%, 23%)?
HEX: #06086F | RGB: rgb(6, 8, 111) | CMYK: 95%, 93%, 0%, 56% | HSV: 239°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #06086F?
The complementary color is HSL(59, 90%, 23%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(239, 90%, 23%) in CSS?
As HSL: color: hsl(239, 90%, 23%); — As HEX: color: #06086F; — As RGB: color: rgb(6, 8, 111); — Tailwind CSS: bg-[hsl(239,90%,23%)] — CSS variable: --color-primary: hsl(239, 90%, 23%);