HSL(232, 99%, 21%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,99%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 99%, 21%) | color: hsl(232, 99%, 21%) | |
| HEX | #010F6B | color: #010F6B | |
| RGB | rgb(1, 15, 107) | color: rgb(1, 15, 107) | |
| CMYK | cmyk(99%, 86%, 0%, 58%) | — | |
| HSV | hsv(232, 99%, 42%) | — | |
| HWB | hwb(232 0% 58%) | color: hwb(232 0% 58%) | |
| OKLCH | oklch(0.256 0.1535 264.51) | color: oklch(0.256 0.1535 264.51) | |
| Lab | lab(12.02 34.31 -52.71) | color: lab(12.02 34.31 -52.71) | |
| LCH | lch(12.02 62.89 303.06) | color: lch(12.02 62.89 303.06) |
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)
#070755 — rgb(7, 7, 85)
Deuteranopia (Green-blind)
#06054F — rgb(6, 5, 79)
Tritanopia (Blue-blind)
#02433F — rgb(2, 67, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 99%, 21%);
text
color: hsl(232, 99%, 21%);
border
border: 2px solid hsl(232, 99%, 21%);
gradient light
background: linear-gradient(to right, hsl(232, 99%, 41%), hsl(232, 99%, 21%));
gradient dark
background: linear-gradient(to right, hsl(232, 99%, 21%), hsl(232, 99%, 1%))
hex
background-color: #010F6B;
tailwind
bg-[hsl(232,99%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 99%, 21%, 0.4);
css variable
--color-primary: hsl(232, 99%, 21%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 99%, 21%)?
HEX: #010F6B | RGB: rgb(1, 15, 107) | CMYK: 99%, 86%, 0%, 58% | HSV: 232°, 99%, 42%. Copy any format from the conversion table above.
What colors go well with #010F6B?
The complementary color is HSL(52, 99%, 21%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 99%, 21%) in CSS?
As HSL: color: hsl(232, 99%, 21%); — As HEX: color: #010F6B; — As RGB: color: rgb(1, 15, 107); — Tailwind CSS: bg-[hsl(232,99%,21%)] — CSS variable: --color-primary: hsl(232, 99%, 21%);