#152D5C#152D5C
#152D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.090 H 262.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #152D5C |
|---|---|
| RGB | rgb(21, 45, 92) |
| HSL | hsl(220, 63%, 22%) |
| HSV | hsv(220, 77%, 36%) |
| CMYK | cmyk(77.2%, 51.1%, 0%, 63.9%) |
| CIE-LAB | lab(19.26, 9.11, -30.91) |
| CIE-LCH | lch(19.26, 32.23, 286.41°) |
| OKLab | oklab(30.7% -0.0122 -0.0887) |
| OKLCH | oklch(30.7% 0.09 262.2) |
| XYZ | xyz(3.1787, 2.8086, 10.4977) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.11
Navy Blue
#1B2A4A
ΔE00 3.96
Marine Blue
#01386A
ΔE00 5.22
Navy (survey)
#01153E
ΔE00 7.81
Darkish Blue
#014182
ΔE00 8.27
Twilight Blue
#0A437A
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152D5C #5C4415
analogous
#15515C #152D5C #20155C
triadic
#152D5C #5C152D #2D5C15
tetradic
#152D5C #5C1551 #5C4415 #155C20
square
#152D5C #5C1551 #5C4415 #155C20
split-complementary
#152D5C #5C2015 #515C15
monochromatic
#060C19 #0A152A #152D5C #20458E #2C5EC0
Accessibility & contrast
On white
13.45
#152D5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#152D5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152D5C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152D5C | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#032C5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152d5c; /* rgb */ color: rgb(21, 45, 92); /* oklch */ color: oklch(30.7% 0.090 262.2);
Tailwind
colors: {
custom: {
50: '#5d658a',
500: '#152d5c',
950: '#000000',
},
}SCSS
$custom: #152d5c; $custom-light: #5d658a; $custom-dark: #000000;
JSON
{
"hex": "#152d5c",
"rgb": {
"r": 21,
"g": 45,
"b": 92
},
"hsl": {
"h": 219.718,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.307,
"c": 0.08951,
"h": 262.2
},
"luminance": 0.02809
}Semantic roles & 50–950 ramp
primary
#152D5C
secondary
#937539
accent
#AE42E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D