#1A2EA1#1A2EA1
#1A2EA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.184 H 267.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2EA1 |
|---|---|
| RGB | rgb(26, 46, 161) |
| HSL | hsl(231, 72%, 37%) |
| HSV | hsv(231, 84%, 63%) |
| CMYK | cmyk(83.9%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.00, 36.57, -63.56) |
| CIE-LCH | lch(26.00, 73.33, 299.91°) |
| OKLab | oklab(37.68% -0.0079 -0.1842) |
| OKLCH | oklch(37.68% 0.184 267.5) |
| XYZ | xyz(7.8338, 4.7459, 34.2145) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Royal
#0C1793
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.99
Blueberry
#464196
ΔE00 7.17
Blue Blue
#2242C7
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2EA1 #A18D1A
analogous
#1A72A1 #1A2EA1 #4A1AA1
triadic
#1A2EA1 #A11A2E #2EA11A
tetradic
#1A2EA1 #A11A72 #A18D1A #1AA14A
square
#1A2EA1 #A11A72 #A18D1A #1AA14A
split-complementary
#1A2EA1 #A14A1A #72A11A
monochromatic
#091038 #111F6C #1A2EA1 #233DD6 #5268E3
Accessibility & contrast
On white
10.77
#1A2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1A2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2EA1
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2EA1 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1a2ea1; /* rgb */ color: rgb(26, 46, 161); /* oklch */ color: oklch(37.7% 0.184 267.5);
Tailwind
colors: {
custom: {
50: '#7167be',
500: '#1a2ea1',
950: '#000000',
},
}SCSS
$custom: #1a2ea1; $custom-light: #7167be; $custom-dark: #000000;
JSON
{
"hex": "#1a2ea1",
"rgb": {
"r": 26,
"g": 46,
"b": 161
},
"hsl": {
"h": 231.111,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.37684,
"c": 0.18439,
"h": 267.5
},
"luminance": 0.04747
}Semantic roles & 50–950 ramp
primary
#1A2EA1
secondary
#C6B551
accent
#D439EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81