#10227E#10227E
#10227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.155 H 266.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #10227E |
|---|---|
| RGB | rgb(16, 34, 126) |
| HSL | hsl(230, 77%, 28%) |
| HSV | hsv(230, 87%, 49%) |
| CMYK | cmyk(87.3%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.06, 30.45, -53.30) |
| CIE-LCH | lch(19.06, 61.39, 299.74°) |
| OKLab | oklab(31.45% -0.0083 -0.1545) |
| OKLCH | oklch(31.45% 0.155 266.9) |
| XYZ | xyz(4.5503, 2.7600, 20.0275) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.25
Royal
#0C1793
ΔE00 4.50
Dark Royal Blue
#02066F
ΔE00 6.56
Darkblue
#00008B
ΔE00 7.05
Navy
#000080
ΔE00 7.06
Deep Blue
#040273
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#10227E #7E6C10
analogous
#10597E #10227E #35107E
triadic
#10227E #7E1022 #227E10
tetradic
#10227E #7E1059 #7E6C10 #107E35
square
#10227E #7E1059 #7E6C10 #107E35
split-complementary
#10227E #7E3510 #597E10
monochromatic
#03071B #091348 #10227E #1731B4 #2544E3
Accessibility & contrast
On white
13.53
#10227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#10227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #10227E
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##10227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##10227E | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #10227e; /* rgb */ color: rgb(16, 34, 126); /* oklch */ color: oklch(31.4% 0.155 266.9);
Tailwind
colors: {
custom: {
50: '#665da4',
500: '#10227e',
950: '#000000',
},
}SCSS
$custom: #10227e; $custom-light: #665da4; $custom-dark: #000000;
JSON
{
"hex": "#10227e",
"rgb": {
"r": 16,
"g": 34,
"b": 126
},
"hsl": {
"h": 230.182,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.31447,
"c": 0.15473,
"h": 266.9
},
"luminance": 0.02761
}Semantic roles & 50–950 ramp
primary
#10227E
secondary
#B4A036
accent
#D534F4
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F