#152F9F#152F9F
#152F9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.182 H 266.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #152F9F |
|---|---|
| RGB | rgb(21, 47, 159) |
| HSL | hsl(229, 77%, 35%) |
| HSV | hsv(229, 87%, 62%) |
| CMYK | cmyk(86.8%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(25.85, 34.86, -62.60) |
| CIE-LCH | lch(25.85, 71.65, 299.11°) |
| OKLab | oklab(37.46% -0.0119 -0.1815) |
| OKLCH | oklch(37.46% 0.182 266.2) |
| XYZ | xyz(7.5816, 4.6947, 33.3007) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Royal
#0C1793
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.97
Blueberry
#464196
ΔE00 7.16
Blue Blue
#2242C7
ΔE00 7.38
Cobalt Blue
#030AA7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F9F #9F8515
analogous
#15749F #152F9F #40159F
triadic
#152F9F #9F152F #2F9F15
tetradic
#152F9F #9F1574 #9F8515 #159F40
square
#152F9F #9F1574 #9F8515 #159F40
split-complementary
#152F9F #9F4015 #749F15
monochromatic
#070F33 #0E1F69 #152F9F #1C3FD5 #4866E7
Accessibility & contrast
On white
10.83
#152F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#152F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F9F
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F9F | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #152f9f; /* rgb */ color: rgb(21, 47, 159); /* oklch */ color: oklch(37.5% 0.182 266.2);
Tailwind
colors: {
custom: {
50: '#7067bd',
500: '#152f9f',
950: '#000000',
},
}SCSS
$custom: #152f9f; $custom-light: #7067bd; $custom-dark: #000000;
JSON
{
"hex": "#152f9f",
"rgb": {
"r": 21,
"g": 47,
"b": 159
},
"hsl": {
"h": 228.696,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.37462,
"c": 0.18189,
"h": 266.2
},
"luminance": 0.04696
}Semantic roles & 50–950 ramp
primary
#152F9F
secondary
#C8B048
accent
#CF35F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81