#152E57#152E57
#152E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.080 H 259.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #152E57 |
|---|---|
| RGB | rgb(21, 46, 87) |
| HSL | hsl(217, 61%, 21%) |
| HSV | hsv(217, 76%, 34%) |
| CMYK | cmyk(75.9%, 47.1%, 0%, 65.9%) |
| CIE-LAB | lab(19.23, 6.27, -27.64) |
| CIE-LCH | lch(19.23, 28.35, 282.77°) |
| OKLab | oklab(30.56% -0.0142 -0.079) |
| OKLCH | oklch(30.56% 0.08 259.8) |
| XYZ | xyz(3.0059, 2.8012, 9.3972) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.25
Navy Blue
#1B2A4A
ΔE00 3.15
Marine Blue
#01386A
ΔE00 4.92
Navy (survey)
#01153E
ΔE00 8.03
Twilight Blue
#0A437A
ΔE00 8.24
Darkish Blue
#014182
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E57 #573E15
analogous
#154F57 #152E57 #1D1557
triadic
#152E57 #57152E #2E5715
tetradic
#152E57 #57154F #573E15 #15571D
square
#152E57 #57154F #573E15 #15571D
split-complementary
#152E57 #571D15 #4F5715
monochromatic
#060D19 #091426 #152E57 #214888 #2D62BA
Accessibility & contrast
On white
13.46
#152E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#152E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E57
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E57 | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152e57; /* rgb */ color: rgb(21, 46, 87); /* oklch */ color: oklch(30.6% 0.080 259.8);
Tailwind
colors: {
custom: {
50: '#5c6687',
500: '#152e57',
950: '#000000',
},
}SCSS
$custom: #152e57; $custom-light: #5c6687; $custom-dark: #000000;
JSON
{
"hex": "#152e57",
"rgb": {
"r": 21,
"g": 46,
"b": 87
},
"hsl": {
"h": 217.273,
"s": 61.111,
"l": 21.176
},
"oklch": {
"l": 0.30562,
"c": 0.0803,
"h": 259.8
},
"luminance": 0.02802
}Semantic roles & 50–950 ramp
primary
#152E57
secondary
#8F6E39
accent
#A744E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C