#2E29AB#2E29AB
#2E29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 274.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E29AB |
|---|---|
| RGB | rgb(46, 41, 171) |
| HSL | hsl(242, 61%, 42%) |
| HSV | hsv(242, 76%, 67%) |
| CMYK | cmyk(73.1%, 76%, 0%, 32.9%) |
| CIE-LAB | lab(27.03, 44.64, -67.86) |
| CIE-LCH | lch(27.03, 81.23, 303.34°) |
| OKLab | oklab(39.02% 0.0138 -0.1963) |
| OKLCH | oklch(39.02% 0.197 274) |
| XYZ | xyz(9.2679, 5.1061, 39.0173) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.52
Sapphire (survey)
#2138AB
ΔE00 4.49
True Blue
#010FCC
ΔE00 5.31
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E29AB #A6AB29
analogous
#2965AB #2E29AB #6F29AB
triadic
#2E29AB #AB2E29 #29AB2E
tetradic
#2E29AB #AB2965 #A6AB29 #29AB6F
square
#2E29AB #AB2965 #A6AB29 #29AB6F
split-complementary
#2E29AB #AB6F29 #65AB29
monochromatic
#131148 #211D7A #2E29AB #4640D1 #7671DD
Accessibility & contrast
On white
10.39
#2E29AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2E29AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E29AB
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E29AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E29AB | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e29ab; /* rgb */ color: rgb(46, 41, 171); /* oklch */ color: oklch(39.0% 0.197 274.0);
Tailwind
colors: {
custom: {
50: '#7b65c5',
500: '#2e29ab',
950: '#000000',
},
}SCSS
$custom: #2e29ab; $custom-light: #7b65c5; $custom-dark: #000000;
JSON
{
"hex": "#2e29ab",
"rgb": {
"r": 46,
"g": 41,
"b": 171
},
"hsl": {
"h": 242.308,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.39021,
"c": 0.19678,
"h": 274
},
"luminance": 0.05107
}Semantic roles & 50–950 ramp
primary
#2E29AB
secondary
#C1C46C
accent
#E443DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82