#152F75#152F75
#152F75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.125 H 264.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #152F75 |
|---|---|
| RGB | rgb(21, 47, 117) |
| HSL | hsl(224, 70%, 27%) |
| HSV | hsv(224, 82%, 46%) |
| CMYK | cmyk(82.1%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(21.86, 18.17, -42.96) |
| CIE-LCH | lch(21.86, 46.65, 292.93°) |
| OKLab | oklab(33.3% -0.0112 -0.1241) |
| OKLCH | oklch(33.3% 0.125 264.8) |
| XYZ | xyz(4.5355, 3.4763, 17.2581) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.27
Marine Blue
#01386A
ΔE00 5.70
Darkish Blue
#014182
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.28
Twilight Blue
#0A437A
ΔE00 7.86
Navy Blue
#1B2A4A
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F75 #755B15
analogous
#155F75 #152F75 #2B1575
triadic
#152F75 #75152F #2F7515
tetradic
#152F75 #75155F #755B15 #15752B
square
#152F75 #75155F #755B15 #15752B
split-complementary
#152F75 #752B15 #5F7515
monochromatic
#050A1A #0C1A41 #152F75 #1E44A9 #2B5AD9
Accessibility & contrast
On white
12.39
#152F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#152F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F75
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F75 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #152f75; /* rgb */ color: rgb(21, 47, 117); /* oklch */ color: oklch(33.3% 0.125 264.8);
Tailwind
colors: {
custom: {
50: '#64679d',
500: '#152f75',
950: '#000000',
},
}SCSS
$custom: #152f75; $custom-light: #64679d; $custom-dark: #000000;
JSON
{
"hex": "#152f75",
"rgb": {
"r": 21,
"g": 47,
"b": 117
},
"hsl": {
"h": 223.75,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.33301,
"c": 0.12457,
"h": 264.8
},
"luminance": 0.03477
}Semantic roles & 50–950 ramp
primary
#152F75
secondary
#AB8D3B
accent
#BC3BEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E