#2E2FB9#2E2FB9
#2E2FB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.208 H 272.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2FB9 |
|---|---|
| RGB | rgb(46, 47, 185) |
| HSL | hsl(240, 60%, 45%) |
| HSV | hsv(240, 75%, 73%) |
| CMYK | cmyk(75.1%, 74.6%, 0%, 27.5%) |
| CIE-LAB | lab(29.70, 45.91, -71.81) |
| CIE-LCH | lch(29.70, 85.23, 302.59°) |
| OKLab | oklab(41.35% 0.0084 -0.2078) |
| OKLCH | oklch(41.35% 0.208 272.3) |
| XYZ | xyz(10.8972, 6.1155, 46.4956) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 4.79
True Blue
#010FCC
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.56
Blue With A Hint Of Purple
#533CC6
ΔE00 5.58
Blurple
#5539CC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2FB9 #B9B82E
analogous
#2E75B9 #2E2FB9 #722EB9
triadic
#2E2FB9 #B92E2F #2FB92E
tetradic
#2E2FB9 #B92E75 #B9B82E #2EB972
square
#2E2FB9 #B92E75 #B9B82E #2EB972
split-complementary
#2E2FB9 #B9722E #75B92E
monochromatic
#161657 #222388 #2E2FB9 #5152D4 #8282E0
Accessibility & contrast
On white
9.44
#2E2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2E2FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2FB9
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2FB9 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e2fb9; /* rgb */ color: rgb(46, 47, 185); /* oklch */ color: oklch(41.3% 0.208 272.3);
Tailwind
colors: {
custom: {
50: '#7e69cf',
500: '#2e2fb9',
950: '#000000',
},
}SCSS
$custom: #2e2fb9; $custom-light: #7e69cf; $custom-dark: #000000;
JSON
{
"hex": "#2e2fb9",
"rgb": {
"r": 46,
"g": 47,
"b": 185
},
"hsl": {
"h": 239.568,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.41349,
"c": 0.20801,
"h": 272.3
},
"luminance": 0.06117
}Semantic roles & 50–950 ramp
primary
#2E2FB9
secondary
#C9C87A
accent
#E244E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82