#152F6C#152F6C
#152F6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.111 H 263.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #152F6C |
|---|---|
| RGB | rgb(21, 47, 108) |
| HSL | hsl(222, 67%, 25%) |
| HSV | hsv(222, 81%, 42%) |
| CMYK | cmyk(80.6%, 56.5%, 0%, 57.6%) |
| CIE-LAB | lab(21.11, 14.41, -38.39) |
| CIE-LCH | lch(21.11, 41.01, 290.57°) |
| OKLab | oklab(32.5% -0.0119 -0.1106) |
| OKLCH | oklch(32.5% 0.111 263.9) |
| XYZ | xyz(4.0316, 3.2747, 14.6041) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.95
Marine Blue
#01386A
ΔE00 5.02
Navy Blue
#1B2A4A
ΔE00 6.51
Darkish Blue
#014182
ΔE00 7.04
Twilight Blue
#0A437A
ΔE00 7.66
Midnight Blue
#191970
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F6C #6C5215
analogous
#155A6C #152F6C #26156C
triadic
#152F6C #6C152F #2F6C15
tetradic
#152F6C #6C155A #6C5215 #156C26
square
#152F6C #6C155A #6C5215 #156C26
split-complementary
#152F6C #6C2615 #5A6C15
monochromatic
#050B1A #0B1939 #152F6C #1F459F #295CD2
Accessibility & contrast
On white
12.69
#152F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#152F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F6C
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F6C | 1.00 | 12.69 | 1.66 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01376E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #152f6c; /* rgb */ color: rgb(21, 47, 108); /* oklch */ color: oklch(32.5% 0.111 263.9);
Tailwind
colors: {
custom: {
50: '#616797',
500: '#152f6c',
950: '#000000',
},
}SCSS
$custom: #152f6c; $custom-light: #616797; $custom-dark: #000000;
JSON
{
"hex": "#152f6c",
"rgb": {
"r": 21,
"g": 47,
"b": 108
},
"hsl": {
"h": 222.069,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.32503,
"c": 0.11127,
"h": 263.9
},
"luminance": 0.03275
}Semantic roles & 50–950 ramp
primary
#152F6C
secondary
#A3833A
accent
#B73DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E