#1A218A#1A218A
#1A218A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 270.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1A218A |
|---|---|
| RGB | rgb(26, 33, 138) |
| HSL | hsl(236, 68%, 32%) |
| HSV | hsv(236, 81%, 54%) |
| CMYK | cmyk(81.2%, 76.1%, 0%, 45.9%) |
| CIE-LAB | lab(20.60, 36.28, -58.30) |
| CIE-LCH | lch(20.60, 68.66, 301.89°) |
| OKLab | oklab(33.07% 0 -0.1689) |
| OKLCH | oklch(33.07% 0.169 270) |
| XYZ | xyz(5.5557, 3.1417, 24.3534) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Midnight Blue
#191970
ΔE00 4.24
Cobalt Blue
#030AA7
ΔE00 5.57
Darkblue
#00008B
ΔE00 5.94
Royal Blue (survey)
#0504AA
ΔE00 6.18
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A218A #8A831A
analogous
#1A598A #1A218A #4B1A8A
triadic
#1A218A #8A1A21 #218A1A
tetradic
#1A218A #8A1A59 #8A831A #1A8A4B
square
#1A218A #8A1A59 #8A831A #1A8A4B
split-complementary
#1A218A #8A4B1A #598A1A
monochromatic
#070823 #101557 #1A218A #242DBD #434CDC
Accessibility & contrast
On white
12.90
#1A218A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1A218A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A218A
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A218A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A218A | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a218a; /* rgb */ color: rgb(26, 33, 138); /* oklch */ color: oklch(33.1% 0.169 270.0);
Tailwind
colors: {
custom: {
50: '#6c5dad',
500: '#1a218a',
950: '#000000',
},
}SCSS
$custom: #1a218a; $custom-light: #6c5dad; $custom-dark: #000000;
JSON
{
"hex": "#1a218a",
"rgb": {
"r": 26,
"g": 33,
"b": 138
},
"hsl": {
"h": 236.25,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.33075,
"c": 0.16886,
"h": 270
},
"luminance": 0.03142
}Semantic roles & 50–950 ramp
primary
#1A218A
secondary
#BDB543
accent
#E03DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F