#201A7E#201A7E
#201A7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.159 H 274.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #201A7E |
|---|---|
| RGB | rgb(32, 26, 126) |
| HSL | hsl(244, 66%, 30%) |
| HSV | hsv(244, 79%, 49%) |
| CMYK | cmyk(74.6%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(18.15, 36.70, -54.77) |
| CIE-LCH | lch(18.15, 65.93, 303.83°) |
| OKLab | oklab(31.03% 0.0126 -0.1584) |
| OKLCH | oklch(31.03% 0.159 274.6) |
| XYZ | xyz(4.7297, 2.5518, 19.9779) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 3.31
Dark Royal Blue
#02066F
ΔE00 4.70
Navy
#000080
ΔE00 4.85
Darkblue
#00008B
ΔE00 4.90
Deep Blue
#040273
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201A7E #787E1A
analogous
#1A467E #201A7E #521A7E
triadic
#201A7E #7E201A #1A7E20
tetradic
#201A7E #7E1A46 #787E1A #1A7E52
square
#201A7E #7E1A46 #787E1A #1A7E52
split-complementary
#201A7E #7E521A #467E1A
monochromatic
#060519 #13104B #201A7E #2D24B1 #453CD7
Accessibility & contrast
On white
13.90
#201A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#201A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201A7E
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201A7E | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #201a7e; /* rgb */ color: rgb(32, 26, 126); /* oklch */ color: oklch(31.0% 0.159 274.6);
Tailwind
colors: {
custom: {
50: '#6c59a5',
500: '#201a7e',
950: '#000000',
},
}SCSS
$custom: #201a7e; $custom-light: #6c59a5; $custom-dark: #000000;
JSON
{
"hex": "#201a7e",
"rgb": {
"r": 32,
"g": 26,
"b": 126
},
"hsl": {
"h": 243.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.31034,
"c": 0.1589,
"h": 274.6
},
"luminance": 0.02552
}Semantic roles & 50–950 ramp
primary
#201A7E
secondary
#ABB242
accent
#E93FDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F