#2E2FB1#2E2FB1
#2E2FB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.198 H 272.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FB1 |
|---|---|
| RGB | rgb(46, 47, 177) |
| HSL | hsl(240, 59%, 44%) |
| HSV | hsv(240, 74%, 69%) |
| CMYK | cmyk(74%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(28.87, 43.24, -68.43) |
| CIE-LCH | lch(28.87, 80.94, 302.29°) |
| OKLab | oklab(40.51% 0.0098 -0.198) |
| OKLCH | oklch(40.51% 0.198 272.8) |
| XYZ | xyz(10.0764, 5.7872, 42.1724) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Indigo Blue
#3A18B1
ΔE00 4.75
True Blue
#010FCC
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 6.02
Blue With A Hint Of Purple
#533CC6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FB1 #B1B02E
analogous
#2E70B1 #2E2FB1 #6E2EB1
triadic
#2E2FB1 #B12E2F #2FB12E
tetradic
#2E2FB1 #B12E70 #B1B02E #2EB16E
square
#2E2FB1 #B12E70 #B1B02E #2EB16E
split-complementary
#2E2FB1 #B16E2E #70B12E
monochromatic
#151550 #212280 #2E2FB1 #4C4DD0 #7C7DDD
Accessibility & contrast
On white
9.73
#2E2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2E2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FB1
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FB1 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e2fb1; /* rgb */ color: rgb(46, 47, 177); /* oklch */ color: oklch(40.5% 0.198 272.8);
Tailwind
colors: {
custom: {
50: '#7c69ca',
500: '#2e2fb1',
950: '#000000',
},
}SCSS
$custom: #2e2fb1; $custom-light: #7c69ca; $custom-dark: #000000;
JSON
{
"hex": "#2e2fb1",
"rgb": {
"r": 46,
"g": 47,
"b": 177
},
"hsl": {
"h": 239.542,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.40509,
"c": 0.19823,
"h": 272.8
},
"luminance": 0.05788
}Semantic roles & 50–950 ramp
primary
#2E2FB1
secondary
#C6C575
accent
#E146E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82