#152B6F#152B6F
#152B6F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.121 H 266.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #152B6F |
|---|---|
| RGB | rgb(21, 43, 111) |
| HSL | hsl(225, 68%, 26%) |
| HSV | hsv(225, 81%, 44%) |
| CMYK | cmyk(81.1%, 61.3%, 0%, 56.5%) |
| CIE-LAB | lab(20.18, 18.56, -41.84) |
| CIE-LCH | lch(20.18, 45.77, 293.92°) |
| OKLab | oklab(31.88% -0.0085 -0.1208) |
| OKLCH | oklch(31.88% 0.121 266) |
| XYZ | xyz(4.0414, 3.0344, 15.4086) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.34
Midnight Blue
#191970
ΔE00 6.25
Marine Blue
#01386A
ΔE00 6.59
Navy Blue
#1B2A4A
ΔE00 7.31
Darkish Blue
#014182
ΔE00 8.36
Royal
#0C1793
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B6F #6F5915
analogous
#15586F #152B6F #2C156F
triadic
#152B6F #6F152B #2B6F15
tetradic
#152B6F #6F1558 #6F5915 #156F2C
square
#152B6F #6F1558 #6F5915 #156F2C
split-complementary
#152B6F #6F2C15 #586F15
monochromatic
#050A1A #0B173C #152B6F #1F3FA2 #2853D6
Accessibility & contrast
On white
13.07
#152B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#152B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B6F
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B6F | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #152b6f; /* rgb */ color: rgb(21, 43, 111); /* oklch */ color: oklch(31.9% 0.121 266.0);
Tailwind
colors: {
custom: {
50: '#626399',
500: '#152b6f',
950: '#000000',
},
}SCSS
$custom: #152b6f; $custom-light: #626399; $custom-dark: #000000;
JSON
{
"hex": "#152b6f",
"rgb": {
"r": 21,
"g": 43,
"b": 111
},
"hsl": {
"h": 225.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.31882,
"c": 0.12114,
"h": 266
},
"luminance": 0.03035
}Semantic roles & 50–950 ramp
primary
#152B6F
secondary
#A58B3A
accent
#C03DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E