#152D7C#152D7C
#152D7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.137 H 266.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #152D7C |
|---|---|
| RGB | rgb(21, 45, 124) |
| HSL | hsl(226, 71%, 28%) |
| HSV | hsv(226, 83%, 49%) |
| CMYK | cmyk(83.1%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(21.91, 22.48, -47.33) |
| CIE-LCH | lch(21.91, 52.40, 295.41°) |
| OKLab | oklab(33.53% -0.0096 -0.1369) |
| OKLCH | oklch(33.53% 0.137 266) |
| XYZ | xyz(4.8845, 3.4909, 19.4812) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.71
Midnight Blue
#191970
ΔE00 6.25
Marine Blue
#01386A
ΔE00 6.97
Sapphire (survey)
#2138AB
ΔE00 7.34
Royal
#0C1793
ΔE00 7.63
Darkish Blue
#014182
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152D7C #7C6415
analogous
#15607C #152D7C #30157C
triadic
#152D7C #7C152D #2D7C15
tetradic
#152D7C #7C1560 #7C6415 #157C30
square
#152D7C #7C1560 #7C6415 #157C30
split-complementary
#152D7C #7C3015 #607C15
monochromatic
#04091A #0C1A48 #152D7C #1E40B0 #3058DC
Accessibility & contrast
On white
12.37
#152D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#152D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152D7C
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152D7C | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #152d7c; /* rgb */ color: rgb(21, 45, 124); /* oklch */ color: oklch(33.5% 0.137 266.0);
Tailwind
colors: {
custom: {
50: '#6665a3',
500: '#152d7c',
950: '#000000',
},
}SCSS
$custom: #152d7c; $custom-light: #6665a3; $custom-dark: #000000;
JSON
{
"hex": "#152d7c",
"rgb": {
"r": 21,
"g": 45,
"b": 124
},
"hsl": {
"h": 226.019,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.33534,
"c": 0.13726,
"h": 266
},
"luminance": 0.03491
}Semantic roles & 50–950 ramp
primary
#152D7C
secondary
#B1963C
accent
#C43AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F