#1A226E#1A226E
#1A226E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.130 H 271.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1A226E |
|---|---|
| RGB | rgb(26, 34, 110) |
| HSL | hsl(234, 62%, 27%) |
| HSV | hsv(234, 76%, 43%) |
| CMYK | cmyk(76.4%, 69.1%, 0%, 56.9%) |
| CIE-LAB | lab(17.87, 25.15, -44.96) |
| CIE-LCH | lch(17.87, 51.52, 299.22°) |
| OKLab | oklab(30.21% 0.003 -0.13) |
| OKLCH | oklch(30.21% 0.13 271.3) |
| XYZ | xyz(3.8115, 2.4891, 15.0284) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Darkblue (survey)
#030764
ΔE00 6.76
Royal
#0C1793
ΔE00 6.84
Dark Royal Blue
#02066F
ΔE00 6.90
Marine
#042E60
ΔE00 7.36
Navy Blue (survey)
#001146
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A226E #6E661A
analogous
#1A4C6E #1A226E #3C1A6E
triadic
#1A226E #6E1A22 #226E1A
tetradic
#1A226E #6E1A4C #6E661A #1A6E3C
square
#1A226E #6E1A4C #6E661A #1A6E3C
split-complementary
#1A226E #6E3C1A #4C6E1A
monochromatic
#060819 #0E133D #1A226E #2631A0 #3442CF
Accessibility & contrast
On white
14.02
#1A226E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A226E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A226E
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A226E | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a226e; /* rgb */ color: rgb(26, 34, 110); /* oklch */ color: oklch(30.2% 0.130 271.3);
Tailwind
colors: {
custom: {
50: '#655d98',
500: '#1a226e',
950: '#000000',
},
}SCSS
$custom: #1a226e; $custom-light: #655d98; $custom-dark: #000000;
JSON
{
"hex": "#1a226e",
"rgb": {
"r": 26,
"g": 34,
"b": 110
},
"hsl": {
"h": 234.286,
"s": 61.765,
"l": 26.667
},
"oklch": {
"l": 0.30213,
"c": 0.13003,
"h": 271.3
},
"luminance": 0.02489
}Semantic roles & 50–950 ramp
primary
#1A226E
secondary
#A39A41
accent
#D543E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E