#152F4F#152F4F
#152F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.067 H 254.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #152F4F |
|---|---|
| RGB | rgb(21, 47, 79) |
| HSL | hsl(213, 58%, 20%) |
| HSV | hsv(213, 73%, 31%) |
| CMYK | cmyk(73.4%, 40.5%, 0%, 69%) |
| CIE-LAB | lab(19.04, 2.20, -22.59) |
| CIE-LCH | lch(19.04, 22.69, 275.57°) |
| OKLab | oklab(30.25% -0.0174 -0.0642) |
| OKLCH | oklch(30.25% 0.067 254.8) |
| XYZ | xyz(2.7365, 2.7567, 7.7835) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.36
Marine
#042E60
ΔE00 3.64
Marine Blue
#01386A
ΔE00 5.09
Dark
#1B2431
ΔE00 8.11
Dark Blue Grey
#1F3B4D
ΔE00 8.24
Twilight Blue
#0A437A
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F4F #4F3515
analogous
#154C4F #152F4F #18154F
triadic
#152F4F #4F152F #2F4F15
tetradic
#152F4F #4F154C #4F3515 #154F18
square
#152F4F #4F154C #4F3515 #154F18
split-complementary
#152F4F #4F1815 #4C4F15
monochromatic
#060E18 #08121F #152F4F #224C7F #2F69B0
Accessibility & contrast
On white
13.54
#152F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#152F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F4F
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F4F | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#182C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #152f4f; /* rgb */ color: rgb(21, 47, 79); /* oklch */ color: oklch(30.2% 0.067 254.8);
Tailwind
colors: {
custom: {
50: '#5a6780',
500: '#152f4f',
950: '#000000',
},
}SCSS
$custom: #152f4f; $custom-light: #5a6780; $custom-dark: #000000;
JSON
{
"hex": "#152f4f",
"rgb": {
"r": 21,
"g": 47,
"b": 79
},
"hsl": {
"h": 213.103,
"s": 58,
"l": 19.608
},
"oklch": {
"l": 0.30248,
"c": 0.0665,
"h": 254.8
},
"luminance": 0.02757
}Semantic roles & 50–950 ramp
primary
#152F4F
secondary
#876439
accent
#9C47E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C