#152079#152079
#152079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.149 H 269.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #152079 |
|---|---|
| RGB | rgb(21, 32, 121) |
| HSL | hsl(233, 70%, 28%) |
| HSV | hsv(233, 83%, 47%) |
| CMYK | cmyk(82.6%, 73.6%, 0%, 52.5%) |
| CIE-LAB | lab(18.24, 30.23, -51.45) |
| CIE-LCH | lch(18.24, 59.67, 300.44°) |
| OKLab | oklab(30.76% -0.0024 -0.149) |
| OKLCH | oklch(30.76% 0.149 269.1) |
| XYZ | xyz(4.2758, 2.5724, 18.3566) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.31
Royal
#0C1793
ΔE00 4.75
Dark Royal Blue
#02066F
ΔE00 5.92
Darkblue (survey)
#030764
ΔE00 6.32
Deep Blue
#040273
ΔE00 6.50
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152079 #796E15
analogous
#155279 #152079 #3C1579
triadic
#152079 #791520 #207915
tetradic
#152079 #791552 #796E15 #15793C
square
#152079 #791552 #796E15 #15793C
split-complementary
#152079 #793C15 #527915
monochromatic
#05071A #0C1245 #152079 #1E2EAD #2E41DB
Accessibility & contrast
On white
13.87
#152079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#152079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152079
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152079 | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #152079; /* rgb */ color: rgb(21, 32, 121); /* oklch */ color: oklch(30.8% 0.149 269.1);
Tailwind
colors: {
custom: {
50: '#665ca1',
500: '#152079',
950: '#000000',
},
}SCSS
$custom: #152079; $custom-light: #665ca1; $custom-dark: #000000;
JSON
{
"hex": "#152079",
"rgb": {
"r": 21,
"g": 32,
"b": 121
},
"hsl": {
"h": 233.4,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.30757,
"c": 0.14905,
"h": 269.1
},
"luminance": 0.02573
}Semantic roles & 50–950 ramp
primary
#152079
secondary
#AFA23B
accent
#DA3BED
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F