HSL(202, 50%, 14%)
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(202,50%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 50%, 14%) | color: hsl(202, 50%, 14%) | |
| HEX | #122836 | color: #122836 | |
| RGB | rgb(18, 40, 54) | color: rgb(18, 40, 54) | |
| CMYK | cmyk(67%, 26%, 0%, 79%) | — | |
| HSV | hsv(203, 67%, 21%) | — | |
| HWB | hwb(203 7% 79%) | color: hwb(203 7% 79%) | |
| OKLCH | oklch(0.2658 0.0384 238.43) | color: oklch(0.2658 0.0384 238.43) | |
| Lab | lab(15.02 -3.62 -11.7) | color: lab(15.02 -3.62 -11.7) | |
| LCH | lch(15.02 12.25 252.81) | color: lch(15.02 12.25 252.81) |
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)
#1C1C33 — rgb(28, 28, 51)
Deuteranopia (Green-blind)
#1A1932 — rgb(26, 25, 50)
Tritanopia (Blue-blind)
#13302F — rgb(19, 48, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 50%, 14%);
text
color: hsl(202, 50%, 14%);
border
border: 2px solid hsl(202, 50%, 14%);
gradient light
background: linear-gradient(to right, hsl(202, 50%, 34%), hsl(202, 50%, 14%));
gradient dark
background: linear-gradient(to right, hsl(202, 50%, 14%), hsl(202, 50%, 0%))
hex
background-color: #122836;
tailwind
bg-[hsl(202,50%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 50%, 14%, 0.4);
css variable
--color-primary: hsl(202, 50%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(202, 50%, 14%)?
HEX: #122836 | RGB: rgb(18, 40, 54) | CMYK: 67%, 26%, 0%, 79% | HSV: 203°, 67%, 21%. Copy any format from the conversion table above.
What colors go well with #122836?
The complementary color is HSL(22, 50%, 14%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 50%, 14%) in CSS?
As HSL: color: hsl(202, 50%, 14%); — As HEX: color: #122836; — As RGB: color: rgb(18, 40, 54); — Tailwind CSS: bg-[hsl(202,50%,14%)] — CSS variable: --color-primary: hsl(202, 50%, 14%);