#15267F#15267F
#15267F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.150 H 267.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #15267F |
|---|---|
| RGB | rgb(21, 38, 127) |
| HSL | hsl(230, 72%, 29%) |
| HSV | hsv(230, 83%, 50%) |
| CMYK | cmyk(83.5%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.35, 28.54, -51.79) |
| CIE-LCH | lch(20.35, 59.13, 298.85°) |
| OKLab | oklab(32.48% -0.0058 -0.15) |
| OKLCH | oklch(32.48% 0.15 267.8) |
| XYZ | xyz(4.8318, 3.0774, 20.4139) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.12
Royal
#0C1793
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 7.63
Dark Royal Blue
#02066F
ΔE00 7.67
Marine
#042E60
ΔE00 7.71
Darkblue
#00008B
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15267F #7F6E15
analogous
#155B7F #15267F #39157F
triadic
#15267F #7F1526 #267F15
tetradic
#15267F #7F155B #7F6E15 #157F39
square
#15267F #7F155B #7F6E15 #157F39
split-complementary
#15267F #7F3915 #5B7F15
monochromatic
#04081A #0C164A #15267F #1E36B4 #314DDD
Accessibility & contrast
On white
13.00
#15267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#15267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15267F
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15267F | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #15267f; /* rgb */ color: rgb(21, 38, 127); /* oklch */ color: oklch(32.5% 0.150 267.8);
Tailwind
colors: {
custom: {
50: '#6760a5',
500: '#15267f',
950: '#000000',
},
}SCSS
$custom: #15267f; $custom-light: #6760a5; $custom-dark: #000000;
JSON
{
"hex": "#15267f",
"rgb": {
"r": 21,
"g": 38,
"b": 127
},
"hsl": {
"h": 230.377,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.32475,
"c": 0.15014,
"h": 267.8
},
"luminance": 0.03078
}Semantic roles & 50–950 ramp
primary
#15267F
secondary
#B4A13C
accent
#D139EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F