#152C77#152C77
#152C77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.131 H 266.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #152C77 |
|---|---|
| RGB | rgb(21, 44, 119) |
| HSL | hsl(226, 70%, 27%) |
| HSV | hsv(226, 82%, 47%) |
| CMYK | cmyk(82.4%, 63%, 0%, 53.3%) |
| CIE-LAB | lab(21.18, 21.15, -45.35) |
| CIE-LCH | lch(21.18, 50.04, 295.00°) |
| OKLab | oklab(32.85% -0.009 -0.1311) |
| OKLCH | oklch(32.85% 0.131 266.1) |
| XYZ | xyz(4.5385, 3.2922, 17.8454) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.20
Midnight Blue
#191970
ΔE00 6.07
Marine Blue
#01386A
ΔE00 6.85
Royal
#0C1793
ΔE00 8.00
Darkish Blue
#014182
ΔE00 8.08
Sapphire (survey)
#2138AB
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152C77 #776015
analogous
#155D77 #152C77 #2F1577
triadic
#152C77 #77152C #2C7715
tetradic
#152C77 #77155D #776015 #15772F
square
#152C77 #77155D #776015 #15772F
split-complementary
#152C77 #772F15 #5D7715
monochromatic
#050A1A #0C1943 #152C77 #1E3FAB #2D55DA
Accessibility & contrast
On white
12.66
#152C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#152C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152C77
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152C77 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #152c77; /* rgb */ color: rgb(21, 44, 119); /* oklch */ color: oklch(32.8% 0.131 266.1);
Tailwind
colors: {
custom: {
50: '#65649f',
500: '#152c77',
950: '#000000',
},
}SCSS
$custom: #152c77; $custom-light: #65649f; $custom-dark: #000000;
JSON
{
"hex": "#152c77",
"rgb": {
"r": 21,
"g": 44,
"b": 119
},
"hsl": {
"h": 225.918,
"s": 70,
"l": 27.451
},
"oklch": {
"l": 0.32847,
"c": 0.13143,
"h": 266.1
},
"luminance": 0.03293
}Semantic roles & 50–950 ramp
primary
#152C77
secondary
#AD923B
accent
#C33BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E