#1A226C#1A226C
#1A226C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.127 H 271.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A226C |
|---|---|
| RGB | rgb(26, 34, 108) |
| HSL | hsl(234, 61%, 26%) |
| HSV | hsv(234, 76%, 42%) |
| CMYK | cmyk(75.9%, 68.5%, 0%, 57.6%) |
| CIE-LAB | lab(17.67, 24.38, -43.99) |
| CIE-LCH | lch(17.67, 50.29, 298.99°) |
| OKLab | oklab(30.01% 0.0032 -0.1271) |
| OKLCH | oklch(30.01% 0.127 271.4) |
| XYZ | xyz(3.7039, 2.4460, 14.4614) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Darkblue (survey)
#030764
ΔE00 6.82
Dark Royal Blue
#02066F
ΔE00 7.05
Royal
#0C1793
ΔE00 7.19
Marine
#042E60
ΔE00 7.20
Navy Blue (survey)
#001146
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A226C #6C641A
analogous
#1A4B6C #1A226C #3B1A6C
triadic
#1A226C #6C1A22 #226C1A
tetradic
#1A226C #6C1A4B #6C641A #1A6C3B
square
#1A226C #6C1A4B #6C641A #1A6C3B
split-complementary
#1A226C #6C3B1A #4B6C1A
monochromatic
#060819 #0E123B #1A226C #26329D #3342CE
Accessibility & contrast
On white
14.10
#1A226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1A226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A226C
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A226C | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a226c; /* rgb */ color: rgb(26, 34, 108); /* oklch */ color: oklch(30.0% 0.127 271.4);
Tailwind
colors: {
custom: {
50: '#645d97',
500: '#1a226c',
950: '#000000',
},
}SCSS
$custom: #1a226c; $custom-light: #645d97; $custom-dark: #000000;
JSON
{
"hex": "#1a226c",
"rgb": {
"r": 26,
"g": 34,
"b": 108
},
"hsl": {
"h": 234.146,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.30009,
"c": 0.12716,
"h": 271.4
},
"luminance": 0.02446
}Semantic roles & 50–950 ramp
primary
#1A226C
secondary
#A19841
accent
#D543E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E