#152B42#152B42
#152B42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.051 H 251.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #152B42 |
|---|---|
| RGB | rgb(21, 43, 66) |
| HSL | hsl(211, 52%, 17%) |
| HSV | hsv(211, 68%, 26%) |
| CMYK | cmyk(68.2%, 34.8%, 0%, 74.1%) |
| CIE-LAB | lab(16.89, -0.24, -17.13) |
| CIE-LCH | lch(16.89, 17.13, 269.18°) |
| OKLab | oklab(28.32% -0.0166 -0.0483) |
| OKLCH | oklch(28.32% 0.051 251) |
| XYZ | xyz(2.1562, 2.2803, 5.4797) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.03
Navy Blue
#1B2A4A
ΔE00 5.15
Marine
#042E60
ΔE00 6.42
Dark Blue Grey
#1F3B4D
ΔE00 6.79
Marine Blue
#01386A
ΔE00 7.64
Dark Grey Blue
#29465B
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B42 #422C15
analogous
#154242 #152B42 #161542
triadic
#152B42 #42152B #2B4215
tetradic
#152B42 #421542 #422C15 #154216
square
#152B42 #421542 #422C15 #154216
split-complementary
#152B42 #421615 #424215
monochromatic
#070F17 #070F17 #152B42 #244970 #33679F
Accessibility & contrast
On white
14.42
#152B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#152B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B42
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B42 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#1B2842
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #152b42; /* rgb */ color: rgb(21, 43, 66); /* oklch */ color: oklch(28.3% 0.051 251.0);
Tailwind
colors: {
custom: {
50: '#576476',
500: '#152b42',
950: '#000000',
},
}SCSS
$custom: #152b42; $custom-light: #576476; $custom-dark: #000000;
JSON
{
"hex": "#152b42",
"rgb": {
"r": 21,
"g": 43,
"b": 66
},
"hsl": {
"h": 210.667,
"s": 51.724,
"l": 17.059
},
"oklch": {
"l": 0.28315,
"c": 0.05109,
"h": 251
},
"luminance": 0.02281
}Semantic roles & 50–950 ramp
primary
#152B42
secondary
#7A5A39
accent
#954DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B