#13227E#13227E
#13227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 267.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #13227E |
|---|---|
| RGB | rgb(19, 34, 126) |
| HSL | hsl(232, 74%, 28%) |
| HSV | hsv(232, 85%, 49%) |
| CMYK | cmyk(84.9%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.18, 30.66, -53.10) |
| CIE-LCH | lch(19.18, 61.32, 300.00°) |
| OKLab | oklab(31.57% -0.0057 -0.1539) |
| OKLCH | oklch(31.57% 0.154 267.9) |
| XYZ | xyz(4.6052, 2.7883, 20.0301) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Royal
#0C1793
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.99
Navy
#000080
ΔE00 7.01
Deep Blue
#040273
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#13227E #7E6F13
analogous
#13577E #13227E #39137E
triadic
#13227E #7E1322 #227E13
tetradic
#13227E #7E1357 #7E6F13 #137E39
square
#13227E #7E1357 #7E6F13 #137E39
split-complementary
#13227E #7E3913 #577E13
monochromatic
#04071B #0B1449 #13227E #1B30B3 #2C45DF
Accessibility & contrast
On white
13.48
#13227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#13227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #13227E
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##13227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##13227E | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #13227e; /* rgb */ color: rgb(19, 34, 126); /* oklch */ color: oklch(31.6% 0.154 267.9);
Tailwind
colors: {
custom: {
50: '#675da4',
500: '#13227e',
950: '#000000',
},
}SCSS
$custom: #13227e; $custom-light: #675da4; $custom-dark: #000000;
JSON
{
"hex": "#13227e",
"rgb": {
"r": 19,
"g": 34,
"b": 126
},
"hsl": {
"h": 231.589,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.31566,
"c": 0.15399,
"h": 267.9
},
"luminance": 0.02789
}Semantic roles & 50–950 ramp
primary
#13227E
secondary
#B4A239
accent
#D737F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F