#152380#152380
#152380 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.155 H 268.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #152380 |
|---|---|
| RGB | rgb(21, 35, 128) |
| HSL | hsl(232, 72%, 29%) |
| HSV | hsv(232, 84%, 50%) |
| CMYK | cmyk(83.6%, 72.7%, 0%, 49.8%) |
| CIE-LAB | lab(19.72, 30.92, -53.47) |
| CIE-LCH | lch(19.72, 61.77, 300.04°) |
| OKLab | oklab(32.05% -0.0045 -0.1549) |
| OKLCH | oklch(32.05% 0.155 268.3) |
| XYZ | xyz(4.8052, 2.9194, 20.7281) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 4.35
Dark Royal Blue
#02066F
ΔE00 6.80
Darkblue
#00008B
ΔE00 7.09
Navy
#000080
ΔE00 7.17
Deep Blue
#040273
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152380 #807215
analogous
#155980 #152380 #3D1580
triadic
#152380 #801523 #238015
tetradic
#152380 #801559 #807215 #15803D
square
#152380 #801559 #807215 #15803D
split-complementary
#152380 #803D15 #598015
monochromatic
#04071A #0C154B #152380 #1E31B5 #3248DD
Accessibility & contrast
On white
13.26
#152380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152380
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152380 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152380; /* rgb */ color: rgb(21, 35, 128); /* oklch */ color: oklch(32.0% 0.155 268.3);
Tailwind
colors: {
custom: {
50: '#685ea6',
500: '#152380',
950: '#000000',
},
}SCSS
$custom: #152380; $custom-light: #685ea6; $custom-dark: #000000;
JSON
{
"hex": "#152380",
"rgb": {
"r": 21,
"g": 35,
"b": 128
},
"hsl": {
"h": 232.15,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.32047,
"c": 0.15499,
"h": 268.3
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#152380
secondary
#B5A53C
accent
#D739EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F