#15276C#15276C
#15276C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.7% C 0.122 H 267.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #15276C |
|---|---|
| RGB | rgb(21, 39, 108) |
| HSL | hsl(228, 67%, 25%) |
| HSV | hsv(228, 81%, 42%) |
| CMYK | cmyk(80.6%, 63.9%, 0%, 57.6%) |
| CIE-LAB | lab(18.77, 20.21, -42.20) |
| CIE-LCH | lch(18.77, 46.79, 295.59°) |
| OKLab | oklab(30.75% -0.0057 -0.122) |
| OKLCH | oklch(30.75% 0.122 267.3) |
| XYZ | xyz(3.7406, 2.6928, 14.5071) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Marine
#042E60
ΔE00 5.17
Navy Blue
#1B2A4A
ΔE00 7.42
Marine Blue
#01386A
ΔE00 7.79
Navy Blue (survey)
#001146
ΔE00 7.86
Royal
#0C1793
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15276C #6C5A15
analogous
#15526C #15276C #2E156C
triadic
#15276C #6C1527 #276C15
tetradic
#15276C #6C1552 #6C5A15 #156C2E
square
#15276C #6C1552 #6C5A15 #156C2E
split-complementary
#15276C #6C2E15 #526C15
monochromatic
#05091A #0B1439 #15276C #1F3A9F #294CD2
Accessibility & contrast
On white
13.65
#15276C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#15276C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15276C
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15276C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15276C | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #15276c; /* rgb */ color: rgb(21, 39, 108); /* oklch */ color: oklch(30.7% 0.122 267.3);
Tailwind
colors: {
custom: {
50: '#626097',
500: '#15276c',
950: '#000000',
},
}SCSS
$custom: #15276c; $custom-light: #626097; $custom-dark: #000000;
JSON
{
"hex": "#15276c",
"rgb": {
"r": 21,
"g": 39,
"b": 108
},
"hsl": {
"h": 227.586,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.30745,
"c": 0.12209,
"h": 267.3
},
"luminance": 0.02693
}Semantic roles & 50–950 ramp
primary
#15276C
secondary
#A38D3A
accent
#C73DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E