#2E2FAB#2E2FAB
#2E2FAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.191 H 273.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FAB |
|---|---|
| RGB | rgb(46, 47, 171) |
| HSL | hsl(240, 58%, 43%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(73.1%, 72.5%, 0%, 32.9%) |
| CIE-LAB | lab(28.26, 41.21, -65.84) |
| CIE-LCH | lch(28.26, 77.68, 302.04°) |
| OKLab | oklab(39.89% 0.0108 -0.1905) |
| OKLCH | oklch(39.89% 0.191 273.2) |
| XYZ | xyz(9.4915, 5.5532, 39.0918) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.10
Indigo Blue
#3A18B1
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 6.23
True Blue
#010FCC
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.40
Blueberry
#464196
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FAB #ABAA2E
analogous
#2E6DAB #2E2FAB #6B2EAB
triadic
#2E2FAB #AB2E2F #2FAB2E
tetradic
#2E2FAB #AB2E6D #ABAA2E #2EAB6B
square
#2E2FAB #AB2E6D #ABAA2E #2EAB6B
split-complementary
#2E2FAB #AB6B2E #6DAB2E
monochromatic
#14144B #21227B #2E2FAB #4849CE #7979DB
Accessibility & contrast
On white
9.95
#2E2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2E2FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FAB
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FAB | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e2fab; /* rgb */ color: rgb(46, 47, 171); /* oklch */ color: oklch(39.9% 0.191 273.2);
Tailwind
colors: {
custom: {
50: '#7a69c5',
500: '#2e2fab',
950: '#000000',
},
}SCSS
$custom: #2e2fab; $custom-light: #7a69c5; $custom-dark: #000000;
JSON
{
"hex": "#2e2fab",
"rgb": {
"r": 46,
"g": 47,
"b": 171
},
"hsl": {
"h": 239.52,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.39889,
"c": 0.19077,
"h": 273.2
},
"luminance": 0.05554
}Semantic roles & 50–950 ramp
primary
#2E2FAB
secondary
#C3C272
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82