HSL(229, 85%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,85%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 85%, 16%) | color: hsl(229, 85%, 16%) | |
| HEX | #06134B | color: #06134B | |
| RGB | rgb(6, 19, 75) | color: rgb(6, 19, 75) | |
| CMYK | cmyk(92%, 75%, 0%, 71%) | — | |
| HSV | hsv(229, 92%, 29%) | — | |
| HWB | hwb(229 2% 71%) | color: hwb(229 2% 71%) | |
| OKLCH | oklch(0.224 0.1044 266.38) | color: oklch(0.224 0.1044 266.38) | |
| Lab | lab(9.09 19.38 -35.96) | color: lab(9.09 19.38 -35.96) | |
| LCH | lch(9.09 40.85 298.32) | color: lch(9.09 40.85 298.32) |
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)
#0C0C3D — rgb(12, 12, 61)
Deuteranopia (Green-blind)
#0B0A3A — rgb(11, 10, 58)
Tritanopia (Blue-blind)
#073330 — rgb(7, 51, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 85%, 16%);
text
color: hsl(229, 85%, 16%);
border
border: 2px solid hsl(229, 85%, 16%);
gradient light
background: linear-gradient(to right, hsl(229, 85%, 36%), hsl(229, 85%, 16%));
gradient dark
background: linear-gradient(to right, hsl(229, 85%, 16%), hsl(229, 85%, 0%))
hex
background-color: #06134B;
tailwind
bg-[hsl(229,85%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 85%, 16%, 0.4);
css variable
--color-primary: hsl(229, 85%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 85%, 16%)?
HEX: #06134B | RGB: rgb(6, 19, 75) | CMYK: 92%, 75%, 0%, 71% | HSV: 229°, 92%, 29%. Copy any format from the conversion table above.
What colors go well with #06134B?
The complementary color is HSL(49, 85%, 16%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 85%, 16%) in CSS?
As HSL: color: hsl(229, 85%, 16%); — As HEX: color: #06134B; — As RGB: color: rgb(6, 19, 75); — Tailwind CSS: bg-[hsl(229,85%,16%)] — CSS variable: --color-primary: hsl(229, 85%, 16%);