#2E2F94#2E2F94
#2E2F94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.161 H 275.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F94 |
|---|---|
| RGB | rgb(46, 47, 148) |
| HSL | hsl(239, 53%, 38%) |
| HSV | hsv(239, 69%, 58%) |
| CMYK | cmyk(68.9%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(26.01, 33.24, -55.55) |
| CIE-LCH | lch(26.01, 64.73, 300.89°) |
| OKLab | oklab(37.6% 0.014 -0.1604) |
| OKLCH | oklch(37.6% 0.161 275) |
| XYZ | xyz(7.4868, 4.7513, 28.5338) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Blueberry
#464196
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 5.81
Royal
#0C1793
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F94 #94932E
analogous
#2E6294 #2E2F94 #602E94
triadic
#2E2F94 #942E2F #2F942E
tetradic
#2E2F94 #942E62 #94932E #2E9460
square
#2E2F94 #942E62 #94932E #2E9460
split-complementary
#2E2F94 #94602E #62942E
monochromatic
#111137 #1F2065 #2E2F94 #3D3EC3 #6B6CD1
Accessibility & contrast
On white
10.77
#2E2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2E2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F94
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F94 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2f94; /* rgb */ color: rgb(46, 47, 148); /* oklch */ color: oklch(37.6% 0.161 275.0);
Tailwind
colors: {
custom: {
50: '#7568b4',
500: '#2e2f94',
950: '#000000',
},
}SCSS
$custom: #2e2f94; $custom-light: #7568b4; $custom-dark: #000000;
JSON
{
"hex": "#2e2f94",
"rgb": {
"r": 46,
"g": 47,
"b": 148
},
"hsl": {
"h": 239.412,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.37596,
"c": 0.161,
"h": 275
},
"luminance": 0.04752
}Semantic roles & 50–950 ramp
primary
#2E2F94
secondary
#B8B766
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80