#13127F#13127F
#13127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 269.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #13127F |
|---|---|
| RGB | rgb(19, 18, 127) |
| HSL | hsl(241, 75%, 28%) |
| HSV | hsv(241, 86%, 50%) |
| CMYK | cmyk(85%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(16.02, 40.35, -58.96) |
| CIE-LCH | lch(16.02, 71.45, 304.38°) |
| OKLab | oklab(29.37% -0.0012 -0.1707) |
| OKLCH | oklch(29.37% 0.171 269.6) |
| XYZ | xyz(4.3143, 2.1029, 20.2531) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.97
Royal
#0C1793
ΔE00 2.99
Midnight Blue
#191970
ΔE00 3.11
Darkblue
#00008B
ΔE00 3.18
Dark Royal Blue
#02066F
ΔE00 3.25
Deep Blue
#040273
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13127F #7E7F12
analogous
#12477F #13127F #49127F
triadic
#13127F #7F1312 #127F13
tetradic
#13127F #7F1247 #7E7F12 #127F49
square
#13127F #7F1247 #7E7F12 #127F49
split-complementary
#13127F #7F4912 #477F12
monochromatic
#04041B #0B0A49 #13127F #1B1AB5 #2C2BE1
Accessibility & contrast
On white
14.78
#13127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#13127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13127F
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13127F | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #13127f; /* rgb */ color: rgb(19, 18, 127); /* oklch */ color: oklch(29.4% 0.171 269.6);
Tailwind
colors: {
custom: {
50: '#6953a5',
500: '#13127f',
950: '#000000',
},
}SCSS
$custom: #13127f; $custom-light: #6953a5; $custom-dark: #000000;
JSON
{
"hex": "#13127f",
"rgb": {
"r": 19,
"g": 18,
"b": 127
},
"hsl": {
"h": 240.55,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.29368,
"c": 0.17069,
"h": 269.6
},
"luminance": 0.02103
}Semantic roles & 50–950 ramp
primary
#13127F
secondary
#B4B538
accent
#F236F0
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F