#2E2B74#2E2B74
#2E2B74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 279.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B74 |
|---|---|
| RGB | rgb(46, 43, 116) |
| HSL | hsl(242, 46%, 31%) |
| HSV | hsv(242, 63%, 45%) |
| CMYK | cmyk(60.3%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(22.19, 24.48, -41.71) |
| CIE-LCH | lch(22.19, 48.37, 300.41°) |
| OKLab | oklab(33.93% 0.0202 -0.1198) |
| OKLCH | oklch(33.93% 0.122 279.6) |
| XYZ | xyz(5.1420, 3.5692, 16.9376) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 6.47
Blueberry
#464196
ΔE00 7.86
Royal
#0C1793
ΔE00 7.92
Marine
#042E60
ΔE00 8.11
Sapphire (survey)
#2138AB
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B74 #71742B
analogous
#2B4C74 #2E2B74 #522B74
triadic
#2E2B74 #742E2B #2B742E
tetradic
#2E2B74 #742B4C #71742B #2B7452
square
#2E2B74 #742B4C #71742B #2B7452
split-complementary
#2E2B74 #74522B #4C742B
monochromatic
#0B0A1B #1C1A47 #2E2B74 #403CA1 #5D58C1
Accessibility & contrast
On white
12.25
#2E2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2E2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B74
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B74 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#043D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2b74; /* rgb */ color: rgb(46, 43, 116); /* oklch */ color: oklch(33.9% 0.121 279.6);
Tailwind
colors: {
custom: {
50: '#6e649d',
500: '#2e2b74',
950: '#000000',
},
}SCSS
$custom: #2e2b74; $custom-light: #6e649d; $custom-dark: #000000;
JSON
{
"hex": "#2e2b74",
"rgb": {
"r": 46,
"g": 43,
"b": 116
},
"hsl": {
"h": 242.466,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.33927,
"c": 0.1215,
"h": 279.6
},
"luminance": 0.0357
}Semantic roles & 50–950 ramp
primary
#2E2B74
secondary
#A2A655
accent
#D652D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E