#1A218F#1A218F
#1A218F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.175 H 269.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1A218F |
|---|---|
| RGB | rgb(26, 33, 143) |
| HSL | hsl(236, 69%, 33%) |
| HSV | hsv(236, 82%, 56%) |
| CMYK | cmyk(81.8%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(21.17, 38.05, -60.48) |
| CIE-LCH | lch(21.17, 71.45, 302.18°) |
| OKLab | oklab(33.64% -0.0008 -0.1752) |
| OKLCH | oklch(33.64% 0.175 269.7) |
| XYZ | xyz(5.9261, 3.2898, 26.3039) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.35
Midnight Blue
#191970
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.00
Royal Blue (survey)
#0504AA
ΔE00 5.62
Darkblue
#00008B
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A218F #8F881A
analogous
#1A5B8F #1A218F #4D1A8F
triadic
#1A218F #8F1A21 #218F1A
tetradic
#1A218F #8F1A5B #8F881A #1A8F4D
square
#1A218F #8F1A5B #8F881A #1A8F4D
split-complementary
#1A218F #8F4D1A #5B8F1A
monochromatic
#070927 #11155B #1A218F #232DC3 #464FDD
Accessibility & contrast
On white
12.67
#1A218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1A218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A218F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A218F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a218f; /* rgb */ color: rgb(26, 33, 143); /* oklch */ color: oklch(33.6% 0.175 269.7);
Tailwind
colors: {
custom: {
50: '#6e5eb1',
500: '#1a218f',
950: '#000000',
},
}SCSS
$custom: #1a218f; $custom-light: #6e5eb1; $custom-dark: #000000;
JSON
{
"hex": "#1a218f",
"rgb": {
"r": 26,
"g": 33,
"b": 143
},
"hsl": {
"h": 236.41,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.33644,
"c": 0.17519,
"h": 269.7
},
"luminance": 0.0329
}Semantic roles & 50–950 ramp
primary
#1A218F
secondary
#BFB846
accent
#E23CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980