#152F3F#152F3F
#152F3F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.043 H 237.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #152F3F |
|---|---|
| RGB | rgb(21, 47, 63) |
| HSL | hsl(203, 50%, 16%) |
| HSV | hsv(203, 67%, 25%) |
| CMYK | cmyk(66.7%, 25.4%, 0%, 75.3%) |
| CIE-LAB | lab(18.15, -4.21, -13.11) |
| CIE-LCH | lch(18.15, 13.77, 252.20°) |
| OKLab | oklab(29.25% -0.0231 -0.0367) |
| OKLCH | oklch(29.25% 0.043 237.8) |
| XYZ | xyz(2.2226, 2.5511, 5.0769) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 3.82
Dark
#1B2431
ΔE00 6.24
Gunmetal
#2A3439
ΔE00 6.42
Dark Grey Blue
#29465B
ΔE00 7.52
Charcoal
#36454F
ΔE00 8.14
Dark Slate Blue
#214761
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F3F #3F2515
analogous
#153F3A #152F3F #151A3F
triadic
#152F3F #3F152F #2F3F15
tetradic
#152F3F #3A153F #3F2515 #1A3F15
square
#152F3F #3A153F #3F2515 #1A3F15
split-complementary
#152F3F #3F151A #3F3A15
monochromatic
#081117 #081117 #152F3F #24516D #34739B
Accessibility & contrast
On white
13.91
#152F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#152F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F3F
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F3F | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #152f3f; /* rgb */ color: rgb(21, 47, 63); /* oklch */ color: oklch(29.3% 0.043 237.8);
Tailwind
colors: {
custom: {
50: '#576774',
500: '#152f3f',
950: '#000000',
},
}SCSS
$custom: #152f3f; $custom-light: #576774; $custom-dark: #000000;
JSON
{
"hex": "#152f3f",
"rgb": {
"r": 21,
"g": 47,
"b": 63
},
"hsl": {
"h": 202.857,
"s": 50,
"l": 16.471
},
"oklch": {
"l": 0.29251,
"c": 0.04337,
"h": 237.8
},
"luminance": 0.02551
}Semantic roles & 50–950 ramp
primary
#152F3F
secondary
#775139
accent
#834EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B