#2E2E71#2E2E71
#2E2E71 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.113 H 278.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E71 |
|---|---|
| RGB | rgb(46, 46, 113) |
| HSL | hsl(240, 42%, 31%) |
| HSV | hsv(240, 59%, 44%) |
| CMYK | cmyk(59.3%, 59.3%, 0%, 55.7%) |
| CIE-LAB | lab(22.75, 21.37, -38.89) |
| CIE-LCH | lch(22.75, 44.38, 298.79°) |
| OKLab | oklab(34.26% 0.0169 -0.1115) |
| OKLCH | oklch(34.26% 0.113 278.6) |
| XYZ | xyz(5.0834, 3.7267, 16.0710) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.34
Marine
#042E60
ΔE00 7.33
Blueberry
#464196
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 8.36
Royal
#0C1793
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E71 #71712E
analogous
#2E4F71 #2E2E71 #4F2E71
triadic
#2E2E71 #712E2E #2E712E
tetradic
#2E2E71 #712E4F #71712E #2E714F
square
#2E2E71 #712E4F #71712E #2E714F
split-complementary
#2E2E71 #714F2E #4F712E
monochromatic
#0B0B1A #1C1C46 #2E2E71 #40409C #5D5DBD
Accessibility & contrast
On white
12.03
#2E2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2E2E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E71
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E71 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#093E4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2e71; /* rgb */ color: rgb(46, 46, 113); /* oklch */ color: oklch(34.3% 0.113 278.6);
Tailwind
colors: {
custom: {
50: '#6e669a',
500: '#2e2e71',
950: '#000000',
},
}SCSS
$custom: #2e2e71; $custom-light: #6e669a; $custom-dark: #000000;
JSON
{
"hex": "#2e2e71",
"rgb": {
"r": 46,
"g": 46,
"b": 113
},
"hsl": {
"h": 240,
"s": 42.138,
"l": 31.176
},
"oklch": {
"l": 0.34261,
"c": 0.11277,
"h": 278.6
},
"luminance": 0.03727
}Semantic roles & 50–950 ramp
primary
#2E2E71
secondary
#A2A258
accent
#D256D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E