#2E2EB7#2E2EB7
#2E2EB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.207 H 272.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EB7 |
|---|---|
| RGB | rgb(46, 46, 183) |
| HSL | hsl(240, 60%, 45%) |
| HSV | hsv(240, 75%, 72%) |
| CMYK | cmyk(74.9%, 74.9%, 0%, 28.2%) |
| CIE-LAB | lab(29.29, 45.81, -71.30) |
| CIE-LCH | lch(29.29, 84.75, 302.72°) |
| OKLab | oklab(41% 0.0092 -0.2063) |
| OKLCH | oklch(41% 0.207 272.6) |
| XYZ | xyz(10.6481, 5.9526, 45.3784) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.81
Indigo Blue
#3A18B1
ΔE00 4.52
True Blue
#010FCC
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EB7 #B7B72E
analogous
#2E73B7 #2E2EB7 #732EB7
triadic
#2E2EB7 #B72E2E #2EB72E
tetradic
#2E2EB7 #B72E73 #B7B72E #2EB773
square
#2E2EB7 #B72E73 #B7B72E #2EB773
split-complementary
#2E2EB7 #B7732E #73B72E
monochromatic
#151555 #222286 #2E2EB7 #4F4FD3 #8080DF
Accessibility & contrast
On white
9.59
#2E2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2E2EB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EB7
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EB7 | 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)
#004CBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e2eb7; /* rgb */ color: rgb(46, 46, 183); /* oklch */ color: oklch(41.0% 0.207 272.6);
Tailwind
colors: {
custom: {
50: '#7d69ce',
500: '#2e2eb7',
950: '#000000',
},
}SCSS
$custom: #2e2eb7; $custom-light: #7d69ce; $custom-dark: #000000;
JSON
{
"hex": "#2e2eb7",
"rgb": {
"r": 46,
"g": 46,
"b": 183
},
"hsl": {
"h": 240,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.40997,
"c": 0.20655,
"h": 272.6
},
"luminance": 0.05954
}Semantic roles & 50–950 ramp
primary
#2E2EB7
secondary
#C8C879
accent
#E345E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82