#2E2F93#2E2F93
#2E2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.160 H 275.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F93 |
|---|---|
| RGB | rgb(46, 47, 147) |
| HSL | hsl(239, 52%, 38%) |
| HSV | hsv(239, 69%, 58%) |
| CMYK | cmyk(68.7%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.92, 32.88, -55.08) |
| CIE-LCH | lch(25.92, 64.15, 300.84°) |
| OKLab | oklab(37.5% 0.0141 -0.159) |
| OKLCH | oklch(37.5% 0.16 275.1) |
| XYZ | xyz(7.4080, 4.7198, 28.1187) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.34
Blueberry
#464196
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 5.75
Royal
#0C1793
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.84
Midnight Blue
#191970
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F93 #93922E
analogous
#2E6193 #2E2F93 #5F2E93
triadic
#2E2F93 #932E2F #2F932E
tetradic
#2E2F93 #932E61 #93922E #2E935F
square
#2E2F93 #932E61 #93922E #2E935F
split-complementary
#2E2F93 #935F2E #61932E
monochromatic
#111136 #1F2064 #2E2F93 #3D3EC2 #6B6CD1
Accessibility & contrast
On white
10.80
#2E2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F93
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F93 | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2f93; /* rgb */ color: rgb(46, 47, 147); /* oklch */ color: oklch(37.5% 0.160 275.1);
Tailwind
colors: {
custom: {
50: '#7568b4',
500: '#2e2f93',
950: '#000000',
},
}SCSS
$custom: #2e2f93; $custom-light: #7568b4; $custom-dark: #000000;
JSON
{
"hex": "#2e2f93",
"rgb": {
"r": 46,
"g": 47,
"b": 147
},
"hsl": {
"h": 239.406,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.375,
"c": 0.15965,
"h": 275.1
},
"luminance": 0.0472
}Semantic roles & 50–950 ramp
primary
#2E2F93
secondary
#B8B765
accent
#DA4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80