#13127E#13127E
#13127E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.169 H 269.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #13127E |
|---|---|
| RGB | rgb(19, 18, 126) |
| HSL | hsl(241, 75%, 28%) |
| HSV | hsv(241, 86%, 49%) |
| CMYK | cmyk(84.9%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(15.89, 40.02, -58.55) |
| CIE-LCH | lch(15.89, 70.92, 304.36°) |
| OKLab | oklab(29.24% -0.001 -0.1695) |
| OKLCH | oklch(29.24% 0.169 269.7) |
| XYZ | xyz(4.2495, 2.0769, 19.9115) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Navy
#000080
ΔE00 2.99
Royal
#0C1793
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 3.15
Deep Blue
#040273
ΔE00 3.25
Darkblue
#00008B
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13127E #7D7E12
analogous
#12477E #13127E #49127E
triadic
#13127E #7E1312 #127E13
tetradic
#13127E #7E1247 #7D7E12 #127E49
square
#13127E #7E1247 #7D7E12 #127E49
split-complementary
#13127E #7E4912 #477E12
monochromatic
#04041B #0B0A48 #13127E #1B1AB4 #2C2AE1
Accessibility & contrast
On white
14.84
#13127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#13127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13127E
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13127E | 1.00 | 14.84 | 1.42 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #13127e; /* rgb */ color: rgb(19, 18, 126); /* oklch */ color: oklch(29.2% 0.169 269.7);
Tailwind
colors: {
custom: {
50: '#6953a5',
500: '#13127e',
950: '#000000',
},
}SCSS
$custom: #13127e; $custom-light: #6953a5; $custom-dark: #000000;
JSON
{
"hex": "#13127e",
"rgb": {
"r": 19,
"g": 18,
"b": 126
},
"hsl": {
"h": 240.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.29238,
"c": 0.16948,
"h": 269.7
},
"luminance": 0.02077
}Semantic roles & 50–950 ramp
primary
#13127E
secondary
#B3B438
accent
#F236F0
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F