#13158E#13158E
#13158E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.186 H 268.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #13158E |
|---|---|
| RGB | rgb(19, 21, 142) |
| HSL | hsl(239, 76%, 32%) |
| HSV | hsv(239, 87%, 56%) |
| CMYK | cmyk(86.6%, 85.2%, 0%, 44.3%) |
| CIE-LAB | lab(18.48, 43.79, -64.32) |
| CIE-LCH | lch(18.48, 77.81, 304.25°) |
| OKLab | oklab(31.64% -0.0049 -0.1862) |
| OKLCH | oklch(31.64% 0.186 268.5) |
| XYZ | xyz(5.4175, 2.6271, 25.8075) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.84
Darkblue
#00008B
ΔE00 3.22
Cobalt Blue
#030AA7
ΔE00 3.53
Navy
#000080
ΔE00 4.00
Royal Blue (survey)
#0504AA
ΔE00 4.07
Midnight Blue
#191970
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13158E #8E8C13
analogous
#13538E #13158E #4F138E
triadic
#13158E #8E1315 #158E13
tetradic
#13158E #8E1353 #8E8C13 #138E4F
square
#13158E #8E1353 #8E8C13 #138E4F
split-complementary
#13158E #8E4F13 #538E13
monochromatic
#050522 #0C0D58 #13158E #1A1DC4 #373AE4
Accessibility & contrast
On white
13.77
#13158E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#13158E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13158E
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13158E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13158E | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #13158e; /* rgb */ color: rgb(19, 21, 142); /* oklch */ color: oklch(31.6% 0.186 268.5);
Tailwind
colors: {
custom: {
50: '#6d56b0',
500: '#13158e',
950: '#000000',
},
}SCSS
$custom: #13158e; $custom-light: #6d56b0; $custom-dark: #000000;
JSON
{
"hex": "#13158e",
"rgb": {
"r": 19,
"g": 21,
"b": 142
},
"hsl": {
"h": 239.024,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.31636,
"c": 0.18629,
"h": 268.5
},
"luminance": 0.02628
}Semantic roles & 50–950 ramp
primary
#13158E
secondary
#C2C03B
accent
#F035F3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880