#15207F#15207F
#15207F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.157 H 268.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #15207F |
|---|---|
| RGB | rgb(21, 32, 127) |
| HSL | hsl(234, 72%, 29%) |
| HSV | hsv(234, 83%, 50%) |
| CMYK | cmyk(83.5%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(18.90, 32.49, -54.18) |
| CIE-LCH | lch(18.90, 63.17, 300.95°) |
| OKLab | oklab(31.43% -0.0031 -0.157) |
| OKLCH | oklch(31.43% 0.157 268.9) |
| XYZ | xyz(4.6552, 2.7242, 20.3550) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.82
Royal
#0C1793
ΔE00 3.85
Dark Royal Blue
#02066F
ΔE00 5.98
Darkblue
#00008B
ΔE00 6.31
Navy
#000080
ΔE00 6.34
Deep Blue
#040273
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15207F #7F7415
analogous
#15557F #15207F #3F157F
triadic
#15207F #7F1520 #207F15
tetradic
#15207F #7F1555 #7F7415 #157F3F
square
#15207F #7F1555 #7F7415 #157F3F
split-complementary
#15207F #7F3F15 #557F15
monochromatic
#04071A #0C134A #15207F #1E2DB4 #3143DD
Accessibility & contrast
On white
13.59
#15207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#15207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15207F
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15207F | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #15207f; /* rgb */ color: rgb(21, 32, 127); /* oklch */ color: oklch(31.4% 0.157 268.9);
Tailwind
colors: {
custom: {
50: '#685ca5',
500: '#15207f',
950: '#000000',
},
}SCSS
$custom: #15207f; $custom-light: #685ca5; $custom-dark: #000000;
JSON
{
"hex": "#15207f",
"rgb": {
"r": 21,
"g": 32,
"b": 127
},
"hsl": {
"h": 233.774,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.31428,
"c": 0.15701,
"h": 268.9
},
"luminance": 0.02725
}Semantic roles & 50–950 ramp
primary
#15207F
secondary
#B4A83C
accent
#DC39EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F