#152F66#152F66
#152F66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.102 H 262.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #152F66 |
|---|---|
| RGB | rgb(21, 47, 102) |
| HSL | hsl(221, 66%, 24%) |
| HSV | hsv(221, 79%, 40%) |
| CMYK | cmyk(79.4%, 53.9%, 0%, 60%) |
| CIE-LAB | lab(20.64, 11.88, -35.26) |
| CIE-LCH | lch(20.64, 37.20, 288.62°) |
| OKLab | oklab(32% -0.0126 -0.1014) |
| OKLCH | oklch(32% 0.102 262.9) |
| XYZ | xyz(3.7232, 3.1514, 12.9798) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.19
Marine Blue
#01386A
ΔE00 4.70
Navy Blue
#1B2A4A
ΔE00 5.57
Darkish Blue
#014182
ΔE00 7.20
Twilight Blue
#0A437A
ΔE00 7.63
Midnight Blue
#191970
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F66 #664C15
analogous
#155866 #152F66 #241566
triadic
#152F66 #66152F #2F6615
tetradic
#152F66 #661558 #664C15 #156624
square
#152F66 #661558 #664C15 #156624
split-complementary
#152F66 #662415 #586615
monochromatic
#050C19 #0B1833 #152F66 #1F4699 #2A5ECC
Accessibility & contrast
On white
12.88
#152F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#152F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F66
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F66 | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #152f66; /* rgb */ color: rgb(21, 47, 102); /* oklch */ color: oklch(32.0% 0.102 262.9);
Tailwind
colors: {
custom: {
50: '#606792',
500: '#152f66',
950: '#000000',
},
}SCSS
$custom: #152f66; $custom-light: #606792; $custom-dark: #000000;
JSON
{
"hex": "#152f66",
"rgb": {
"r": 21,
"g": 47,
"b": 102
},
"hsl": {
"h": 220.741,
"s": 65.854,
"l": 24.118
},
"oklch": {
"l": 0.31995,
"c": 0.10219,
"h": 262.9
},
"luminance": 0.03152
}Semantic roles & 50–950 ramp
primary
#152F66
secondary
#9D7D3A
accent
#B23FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E