#152B74#152B74
#152B74 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.128 H 266.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #152B74 |
|---|---|
| RGB | rgb(21, 43, 116) |
| HSL | hsl(226, 69%, 27%) |
| HSV | hsv(226, 82%, 45%) |
| CMYK | cmyk(81.9%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(20.63, 20.63, -44.33) |
| CIE-LCH | lch(20.63, 48.90, 294.95°) |
| OKLab | oklab(32.35% -0.0084 -0.1282) |
| OKLCH | oklch(32.35% 0.128 266.2) |
| XYZ | xyz(4.3244, 3.1476, 16.8993) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.02
Midnight Blue
#191970
ΔE00 5.87
Marine Blue
#01386A
ΔE00 6.94
Navy Blue
#1B2A4A
ΔE00 8.08
Royal
#0C1793
ΔE00 8.15
Darkish Blue
#014182
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B74 #745E15
analogous
#155B74 #152B74 #2F1574
triadic
#152B74 #74152B #2B7415
tetradic
#152B74 #74155B #745E15 #15742F
square
#152B74 #74155B #745E15 #15742F
split-complementary
#152B74 #742F15 #5B7415
monochromatic
#050A1A #0C1840 #152B74 #1E3EA8 #2B53D9
Accessibility & contrast
On white
12.89
#152B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#152B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B74
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B74 | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #152b74; /* rgb */ color: rgb(21, 43, 116); /* oklch */ color: oklch(32.4% 0.128 266.2);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#152b74',
950: '#000000',
},
}SCSS
$custom: #152b74; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#152b74",
"rgb": {
"r": 21,
"g": 43,
"b": 116
},
"hsl": {
"h": 226.105,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.32352,
"c": 0.12844,
"h": 266.2
},
"luminance": 0.03148
}Semantic roles & 50–950 ramp
primary
#152B74
secondary
#AA903B
accent
#C33CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E