#152C9F#152C9F
#152C9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.185 H 266.6°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #152C9F |
|---|---|
| RGB | rgb(21, 44, 159) |
| HSL | hsl(230, 77%, 35%) |
| HSV | hsv(230, 87%, 62%) |
| CMYK | cmyk(86.8%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(25.15, 36.78, -63.75) |
| CIE-LCH | lch(25.15, 73.60, 299.98°) |
| OKLab | oklab(36.96% -0.0109 -0.1849) |
| OKLCH | oklch(36.96% 0.185 266.6) |
| XYZ | xyz(7.4658, 4.4631, 33.2621) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 6.30
Cobalt Blue
#030AA7
ΔE00 6.57
Royal Blue (survey)
#0504AA
ΔE00 7.13
True Blue
#010FCC
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152C9F #9F8815
analogous
#15719F #152C9F #43159F
triadic
#152C9F #9F152C #2C9F15
tetradic
#152C9F #9F1571 #9F8815 #159F43
square
#152C9F #9F1571 #9F8815 #159F43
split-complementary
#152C9F #9F4315 #719F15
monochromatic
#070E33 #0E1D69 #152C9F #1C3BD5 #4862E7
Accessibility & contrast
On white
11.09
#152C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#152C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152C9F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152C9F | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #152c9f; /* rgb */ color: rgb(21, 44, 159); /* oklch */ color: oklch(37.0% 0.185 266.6);
Tailwind
colors: {
custom: {
50: '#7065bd',
500: '#152c9f',
950: '#000000',
},
}SCSS
$custom: #152c9f; $custom-light: #7065bd; $custom-dark: #000000;
JSON
{
"hex": "#152c9f",
"rgb": {
"r": 21,
"g": 44,
"b": 159
},
"hsl": {
"h": 230,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.36956,
"c": 0.18518,
"h": 266.6
},
"luminance": 0.04464
}Semantic roles & 50–950 ramp
primary
#152C9F
secondary
#C8B348
accent
#D335F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81