#152F61#152F61
#152F61 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.095 H 261.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #152F61 |
|---|---|
| RGB | rgb(21, 47, 97) |
| HSL | hsl(219, 64%, 23%) |
| HSV | hsv(219, 78%, 38%) |
| CMYK | cmyk(78.4%, 51.5%, 0%, 62%) |
| CIE-LAB | lab(20.26, 9.76, -32.60) |
| CIE-LCH | lch(20.26, 34.03, 286.68°) |
| OKLab | oklab(31.59% -0.0133 -0.0936) |
| OKLCH | oklch(31.59% 0.095 261.9) |
| XYZ | xyz(3.4827, 3.0551, 11.7131) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.79
Marine Blue
#01386A
ΔE00 4.55
Navy Blue
#1B2A4A
ΔE00 4.77
Darkish Blue
#014182
ΔE00 7.41
Twilight Blue
#0A437A
ΔE00 7.67
Navy (survey)
#01153E
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F61 #614715
analogous
#155561 #152F61 #211561
triadic
#152F61 #61152F #2F6115
tetradic
#152F61 #611555 #614715 #156121
square
#152F61 #611555 #614715 #156121
split-complementary
#152F61 #612115 #556115
monochromatic
#050C19 #0A172F #152F61 #204793 #2B60C6
Accessibility & contrast
On white
13.03
#152F61 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#152F61 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F61
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F61 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F61 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133563
Deuteranopia (green-blind)
#002E60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #152f61; /* rgb */ color: rgb(21, 47, 97); /* oklch */ color: oklch(31.6% 0.095 261.9);
Tailwind
colors: {
custom: {
50: '#5e678e',
500: '#152f61',
950: '#000000',
},
}SCSS
$custom: #152f61; $custom-light: #5e678e; $custom-dark: #000000;
JSON
{
"hex": "#152f61",
"rgb": {
"r": 21,
"g": 47,
"b": 97
},
"hsl": {
"h": 219.474,
"s": 64.407,
"l": 23.137
},
"oklch": {
"l": 0.31587,
"c": 0.09453,
"h": 261.9
},
"luminance": 0.03056
}Semantic roles & 50–950 ramp
primary
#152F61
secondary
#98783A
accent
#AE40E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D