#15319F#15319F
#15319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.180 H 265.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #15319F |
|---|---|
| RGB | rgb(21, 49, 159) |
| HSL | hsl(228, 77%, 35%) |
| HSV | hsv(228, 87%, 62%) |
| CMYK | cmyk(86.8%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.33, 33.56, -61.81) |
| CIE-LCH | lch(26.33, 70.33, 298.50°) |
| OKLab | oklab(37.81% -0.0127 -0.1792) |
| OKLCH | oklch(37.81% 0.18 265.9) |
| XYZ | xyz(7.6634, 4.8583, 33.3280) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.55
Royal
#0C1793
ΔE00 6.60
Blueberry
#464196
ΔE00 6.87
Blue Blue
#2242C7
ΔE00 7.05
Cobalt
#0047AB
ΔE00 7.39
Indigo Blue
#3A18B1
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15319F #9F8315
analogous
#15769F #15319F #3E159F
triadic
#15319F #9F1531 #319F15
tetradic
#15319F #9F1576 #9F8315 #159F3E
square
#15319F #9F1576 #9F8315 #159F3E
split-complementary
#15319F #9F3E15 #769F15
monochromatic
#071033 #0E2069 #15319F #1C42D5 #4868E7
Accessibility & contrast
On white
10.65
#15319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#15319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15319F
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15319F | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #15319f; /* rgb */ color: rgb(21, 49, 159); /* oklch */ color: oklch(37.8% 0.180 265.9);
Tailwind
colors: {
custom: {
50: '#6f69bc',
500: '#15319f',
950: '#000000',
},
}SCSS
$custom: #15319f; $custom-light: #6f69bc; $custom-dark: #000000;
JSON
{
"hex": "#15319f",
"rgb": {
"r": 21,
"g": 49,
"b": 159
},
"hsl": {
"h": 227.826,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.37812,
"c": 0.17964,
"h": 265.9
},
"luminance": 0.04859
}Semantic roles & 50–950 ramp
primary
#15319F
secondary
#C8AE48
accent
#CD35F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81