#1A226F#1A226F
#1A226F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 271.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1A226F |
|---|---|
| RGB | rgb(26, 34, 111) |
| HSL | hsl(234, 62%, 27%) |
| HSV | hsv(234, 77%, 44%) |
| CMYK | cmyk(76.6%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(17.97, 25.54, -45.45) |
| CIE-LCH | lch(17.97, 52.14, 299.34°) |
| OKLab | oklab(30.32% 0.0029 -0.1314) |
| OKLCH | oklch(30.32% 0.131 271.3) |
| XYZ | xyz(3.8663, 2.5110, 15.3167) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.80
Royal
#0C1793
ΔE00 6.67
Darkblue (survey)
#030764
ΔE00 6.73
Dark Royal Blue
#02066F
ΔE00 6.83
Marine
#042E60
ΔE00 7.45
Deep Blue
#040273
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A226F #6F671A
analogous
#1A4D6F #1A226F #3D1A6F
triadic
#1A226F #6F1A22 #226F1A
tetradic
#1A226F #6F1A4D #6F671A #1A6F3D
square
#1A226F #6F1A4D #6F671A #1A6F3D
split-complementary
#1A226F #6F3D1A #4D6F1A
monochromatic
#060819 #0E133D #1A226F #2631A1 #3443CF
Accessibility & contrast
On white
13.98
#1A226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A226F
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A226F | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a226f; /* rgb */ color: rgb(26, 34, 111); /* oklch */ color: oklch(30.3% 0.131 271.3);
Tailwind
colors: {
custom: {
50: '#655d99',
500: '#1a226f',
950: '#000000',
},
}SCSS
$custom: #1a226f; $custom-light: #655d99; $custom-dark: #000000;
JSON
{
"hex": "#1a226f",
"rgb": {
"r": 26,
"g": 34,
"b": 111
},
"hsl": {
"h": 234.353,
"s": 62.044,
"l": 26.863
},
"oklch": {
"l": 0.30316,
"c": 0.13144,
"h": 271.3
},
"luminance": 0.02511
}Semantic roles & 50–950 ramp
primary
#1A226F
secondary
#A49B41
accent
#D643E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E