#2E2FB5#2E2FB5
#2E2FB5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.203 H 272.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FB5 |
|---|---|
| RGB | rgb(46, 47, 181) |
| HSL | hsl(240, 59%, 45%) |
| HSV | hsv(240, 75%, 71%) |
| CMYK | cmyk(74.6%, 74%, 0%, 29%) |
| CIE-LAB | lab(29.28, 44.58, -70.13) |
| CIE-LCH | lch(29.28, 83.10, 302.44°) |
| OKLab | oklab(40.93% 0.0091 -0.2029) |
| OKLCH | oklch(40.93% 0.203 272.6) |
| XYZ | xyz(10.4809, 5.9490, 44.3030) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Indigo Blue
#3A18B1
ΔE00 4.73
True Blue
#010FCC
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FB5 #B5B42E
analogous
#2E72B5 #2E2FB5 #712EB5
triadic
#2E2FB5 #B52E2F #2FB52E
tetradic
#2E2FB5 #B52E72 #B5B42E #2EB571
square
#2E2FB5 #B52E72 #B5B42E #2EB571
split-complementary
#2E2FB5 #B5712E #72B52E
monochromatic
#151653 #222284 #2E2FB5 #4E4FD2 #7F80DE
Accessibility & contrast
On white
9.59
#2E2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2E2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FB5
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FB5 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e2fb5; /* rgb */ color: rgb(46, 47, 181); /* oklch */ color: oklch(40.9% 0.203 272.6);
Tailwind
colors: {
custom: {
50: '#7d69cc',
500: '#2e2fb5',
950: '#000000',
},
}SCSS
$custom: #2e2fb5; $custom-light: #7d69cc; $custom-dark: #000000;
JSON
{
"hex": "#2e2fb5",
"rgb": {
"r": 46,
"g": 47,
"b": 181
},
"hsl": {
"h": 239.556,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.40928,
"c": 0.20314,
"h": 272.6
},
"luminance": 0.0595
}Semantic roles & 50–950 ramp
primary
#2E2FB5
secondary
#C7C778
accent
#E145E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82