#1A229F#1A229F
#1A229F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.194 H 268.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1A229F |
|---|---|
| RGB | rgb(26, 34, 159) |
| HSL | hsl(236, 72%, 36%) |
| HSV | hsv(236, 84%, 62%) |
| CMYK | cmyk(83.6%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(23.22, 43.02, -66.93) |
| CIE-LCH | lch(23.22, 79.56, 302.73°) |
| OKLab | oklab(35.64% -0.0038 -0.1939) |
| OKLCH | oklch(35.64% 0.194 268.9) |
| XYZ | xyz(7.2539, 3.8660, 33.1581) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.94
Cobalt Blue
#030AA7
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.58
Ultramarine
#2000B1
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A229F #9F971A
analogous
#1A659F #1A229F #551A9F
triadic
#1A229F #9F1A22 #229F1A
tetradic
#1A229F #9F1A65 #9F971A #1A9F55
square
#1A229F #9F1A65 #9F971A #1A9F55
split-complementary
#1A229F #9F551A #659F1A
monochromatic
#090C36 #11176A #1A229F #232DD4 #515AE3
Accessibility & contrast
On white
11.84
#1A229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1A229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A229F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A229F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1a229f; /* rgb */ color: rgb(26, 34, 159); /* oklch */ color: oklch(35.6% 0.194 268.9);
Tailwind
colors: {
custom: {
50: '#725fbd',
500: '#1a229f',
950: '#000000',
},
}SCSS
$custom: #1a229f; $custom-light: #725fbd; $custom-dark: #000000;
JSON
{
"hex": "#1a229f",
"rgb": {
"r": 26,
"g": 34,
"b": 159
},
"hsl": {
"h": 236.391,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.35639,
"c": 0.19396,
"h": 268.9
},
"luminance": 0.03867
}Semantic roles & 50–950 ramp
primary
#1A229F
secondary
#C5BE50
accent
#E439EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981