#152F42#152F42
#152F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.047 H 242.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #152F42 |
|---|---|
| RGB | rgb(21, 47, 66) |
| HSL | hsl(205, 52%, 17%) |
| HSV | hsv(205, 68%, 26%) |
| CMYK | cmyk(68.2%, 28.8%, 0%, 74.1%) |
| CIE-LAB | lab(18.30, -3.04, -14.93) |
| CIE-LCH | lch(18.30, 15.24, 258.47°) |
| OKLab | oklab(29.42% -0.0219 -0.0419) |
| OKLCH | oklch(29.42% 0.047 242.4) |
| XYZ | xyz(2.3088, 2.5856, 5.5306) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.01
Dark
#1B2431
ΔE00 5.83
Dark Grey Blue
#29465B
ΔE00 7.34
Gunmetal
#2A3439
ΔE00 7.44
Dark Slate Blue
#214761
ΔE00 7.91
Marine
#042E60
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F42 #422815
analogous
#15423F #152F42 #151942
triadic
#152F42 #42152F #2F4215
tetradic
#152F42 #3F1542 #422815 #194215
square
#152F42 #3F1542 #422815 #194215
split-complementary
#152F42 #421519 #423F15
monochromatic
#071117 #071117 #152F42 #245070 #33719F
Accessibility & contrast
On white
13.84
#152F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#152F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F42
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F42 | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#202B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #152f42; /* rgb */ color: rgb(21, 47, 66); /* oklch */ color: oklch(29.4% 0.047 242.4);
Tailwind
colors: {
custom: {
50: '#576776',
500: '#152f42',
950: '#000000',
},
}SCSS
$custom: #152f42; $custom-light: #576776; $custom-dark: #000000;
JSON
{
"hex": "#152f42",
"rgb": {
"r": 21,
"g": 47,
"b": 66
},
"hsl": {
"h": 205.333,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.29423,
"c": 0.04729,
"h": 242.4
},
"luminance": 0.02586
}Semantic roles & 50–950 ramp
primary
#152F42
secondary
#7A5439
accent
#894DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B