HSL(200, 90%, 9%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(200,90%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(200, 90%, 9%) | color: hsl(200, 90%, 9%) | |
| HEX | #021E2C | color: #021E2C | |
| RGB | rgb(2, 30, 44) | color: rgb(2, 30, 44) | |
| CMYK | cmyk(95%, 32%, 0%, 83%) | — | |
| HSV | hsv(200, 95%, 17%) | — | |
| HWB | hwb(200 1% 83%) | color: hwb(200 1% 83%) | |
| OKLCH | oklch(0.2219 0.0435 233.88) | color: oklch(0.2219 0.0435 233.88) | |
| Lab | lab(9.98 -4.51 -12.43) | color: lab(9.98 -4.51 -12.43) | |
| LCH | lch(9.98 13.22 250.06) | color: lch(9.98 13.22 250.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)
#0E0E29 — rgb(14, 14, 41)
Deuteranopia (Green-blind)
#0D0A28 — rgb(13, 10, 40)
Tritanopia (Blue-blind)
#032625 — rgb(3, 38, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(200, 90%, 9%);
text
color: hsl(200, 90%, 9%);
border
border: 2px solid hsl(200, 90%, 9%);
gradient light
background: linear-gradient(to right, hsl(200, 90%, 29%), hsl(200, 90%, 9%));
gradient dark
background: linear-gradient(to right, hsl(200, 90%, 9%), hsl(200, 90%, 0%))
hex
background-color: #021E2C;
tailwind
bg-[hsl(200,90%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(200, 90%, 9%, 0.4);
css variable
--color-primary: hsl(200, 90%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(200, 90%, 9%)?
HEX: #021E2C | RGB: rgb(2, 30, 44) | CMYK: 95%, 32%, 0%, 83% | HSV: 200°, 95%, 17%. Copy any format from the conversion table above.
What colors go well with #021E2C?
The complementary color is HSL(20, 90%, 9%). For a triadic harmony, use hues 200°, 320°, and 80°. For analogous combinations, try hues 170° and 230°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(200, 90%, 9%) in CSS?
As HSL: color: hsl(200, 90%, 9%); — As HEX: color: #021E2C; — As RGB: color: rgb(2, 30, 44); — Tailwind CSS: bg-[hsl(200,90%,9%)] — CSS variable: --color-primary: hsl(200, 90%, 9%);