#1A228F#1A228F
#1A228F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.174 H 269.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1A228F |
|---|---|
| RGB | rgb(26, 34, 143) |
| HSL | hsl(236, 69%, 33%) |
| HSV | hsv(236, 82%, 56%) |
| CMYK | cmyk(81.8%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(21.38, 37.46, -60.13) |
| CIE-LCH | lch(21.38, 70.84, 301.92°) |
| OKLab | oklab(33.79% -0.0012 -0.1742) |
| OKLCH | oklch(33.79% 0.174 269.6) |
| XYZ | xyz(5.9543, 3.3461, 26.3133) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.59
Midnight Blue
#191970
ΔE00 4.98
Cobalt Blue
#030AA7
ΔE00 5.20
Royal Blue (survey)
#0504AA
ΔE00 5.82
Darkblue
#00008B
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A228F #8F871A
analogous
#1A5D8F #1A228F #4C1A8F
triadic
#1A228F #8F1A22 #228F1A
tetradic
#1A228F #8F1A5D #8F871A #1A8F4C
square
#1A228F #8F1A5D #8F871A #1A8F4C
split-complementary
#1A228F #8F4C1A #5D8F1A
monochromatic
#070927 #11165B #1A228F #232EC3 #4650DD
Accessibility & contrast
On white
12.58
#1A228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1A228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A228F
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A228F | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a228f; /* rgb */ color: rgb(26, 34, 143); /* oklch */ color: oklch(33.8% 0.174 269.6);
Tailwind
colors: {
custom: {
50: '#6e5eb1',
500: '#1a228f',
950: '#000000',
},
}SCSS
$custom: #1a228f; $custom-light: #6e5eb1; $custom-dark: #000000;
JSON
{
"hex": "#1a228f",
"rgb": {
"r": 26,
"g": 34,
"b": 143
},
"hsl": {
"h": 235.897,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.33794,
"c": 0.17419,
"h": 269.6
},
"luminance": 0.03347
}Semantic roles & 50–950 ramp
primary
#1A228F
secondary
#BFB746
accent
#E03CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980