#152E9F#152E9F
#152E9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.183 H 266.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #152E9F |
|---|---|
| RGB | rgb(21, 46, 159) |
| HSL | hsl(229, 77%, 35%) |
| HSV | hsv(229, 87%, 62%) |
| CMYK | cmyk(86.8%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(25.61, 35.50, -62.99) |
| CIE-LCH | lch(25.61, 72.31, 299.41°) |
| OKLab | oklab(37.29% -0.0116 -0.1826) |
| OKLCH | oklch(37.29% 0.183 266.4) |
| XYZ | xyz(7.5421, 4.6157, 33.2876) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Royal
#0C1793
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 7.14
Blueberry
#464196
ΔE00 7.32
Blue Blue
#2242C7
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E9F #9F8615
analogous
#15739F #152E9F #41159F
triadic
#152E9F #9F152E #2E9F15
tetradic
#152E9F #9F1573 #9F8615 #159F41
square
#152E9F #9F1573 #9F8615 #159F41
split-complementary
#152E9F #9F4115 #739F15
monochromatic
#070F33 #0E1E69 #152E9F #1C3ED5 #4864E7
Accessibility & contrast
On white
10.92
#152E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#152E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E9F
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E9F | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #152e9f; /* rgb */ color: rgb(21, 46, 159); /* oklch */ color: oklch(37.3% 0.183 266.4);
Tailwind
colors: {
custom: {
50: '#7067bd',
500: '#152e9f',
950: '#000000',
},
}SCSS
$custom: #152e9f; $custom-light: #7067bd; $custom-dark: #000000;
JSON
{
"hex": "#152e9f",
"rgb": {
"r": 21,
"g": 46,
"b": 159
},
"hsl": {
"h": 229.13,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.37291,
"c": 0.183,
"h": 266.4
},
"luminance": 0.04617
}Semantic roles & 50–950 ramp
primary
#152E9F
secondary
#C8B148
accent
#D135F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81