#13157F#13157F
#13157F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.168 H 269.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #13157F |
|---|---|
| RGB | rgb(19, 21, 127) |
| HSL | hsl(239, 74%, 29%) |
| HSV | hsv(239, 85%, 50%) |
| CMYK | cmyk(85%, 83.5%, 0%, 50.2%) |
| CIE-LAB | lab(16.54, 38.83, -58.10) |
| CIE-LCH | lch(16.54, 69.88, 303.75°) |
| OKLab | oklab(29.73% -0.0018 -0.1683) |
| OKLCH | oklch(29.73% 0.168 269.4) |
| XYZ | xyz(4.3662, 2.2066, 20.2703) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 2.88
Navy
#000080
ΔE00 3.58
Dark Royal Blue
#02066F
ΔE00 3.66
Darkblue
#00008B
ΔE00 3.72
Deep Blue
#040273
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13157F #7F7D13
analogous
#134B7F #13157F #47137F
triadic
#13157F #7F1315 #157F13
tetradic
#13157F #7F134B #7F7D13 #137F47
square
#13157F #7F134B #7F7D13 #137F47
split-complementary
#13157F #7F4713 #4B7F13
monochromatic
#04041B #0B0C4A #13157F #1B1EB4 #2D30E0
Accessibility & contrast
On white
14.57
#13157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#13157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13157F
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13157F | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #13157f; /* rgb */ color: rgb(19, 21, 127); /* oklch */ color: oklch(29.7% 0.168 269.4);
Tailwind
colors: {
custom: {
50: '#6955a5',
500: '#13157f',
950: '#000000',
},
}SCSS
$custom: #13157f; $custom-light: #6955a5; $custom-dark: #000000;
JSON
{
"hex": "#13157f",
"rgb": {
"r": 19,
"g": 21,
"b": 127
},
"hsl": {
"h": 238.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.29727,
"c": 0.16827,
"h": 269.4
},
"luminance": 0.02207
}Semantic roles & 50–950 ramp
primary
#13157F
secondary
#B4B239
accent
#ED37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F