#2E2E70#2E2E70
#2E2E70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.111 H 278.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E70 |
|---|---|
| RGB | rgb(46, 46, 112) |
| HSL | hsl(240, 42%, 31%) |
| HSV | hsv(240, 59%, 44%) |
| CMYK | cmyk(58.9%, 58.9%, 0%, 56.1%) |
| CIE-LAB | lab(22.67, 21.01, -38.38) |
| CIE-LCH | lch(22.67, 43.75, 298.70°) |
| OKLab | oklab(34.18% 0.0169 -0.11) |
| OKLCH | oklch(34.18% 0.111 278.7) |
| XYZ | xyz(5.0274, 3.7043, 15.7762) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.43
Marine
#042E60
ΔE00 7.28
Blueberry
#464196
ΔE00 7.86
Navy Blue
#1B2A4A
ΔE00 8.23
Marine Blue
#01386A
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E70 #70702E
analogous
#2E4F70 #2E2E70 #4F2E70
triadic
#2E2E70 #702E2E #2E702E
tetradic
#2E2E70 #702E4F #70702E #2E704F
square
#2E2E70 #702E4F #70702E #2E704F
split-complementary
#2E2E70 #704F2E #4F702E
monochromatic
#0A0A19 #1C1C45 #2E2E70 #40409B #5C5CBC
Accessibility & contrast
On white
12.06
#2E2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2E2E70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E70
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E70 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#0B3D4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2e70; /* rgb */ color: rgb(46, 46, 112); /* oklch */ color: oklch(34.2% 0.111 278.7);
Tailwind
colors: {
custom: {
50: '#6d669a',
500: '#2e2e70',
950: '#000000',
},
}SCSS
$custom: #2e2e70; $custom-light: #6d669a; $custom-dark: #000000;
JSON
{
"hex": "#2e2e70",
"rgb": {
"r": 46,
"g": 46,
"b": 112
},
"hsl": {
"h": 240,
"s": 41.772,
"l": 30.98
},
"oklch": {
"l": 0.34178,
"c": 0.11126,
"h": 278.7
},
"luminance": 0.03705
}Semantic roles & 50–950 ramp
primary
#2E2E70
secondary
#A1A158
accent
#D256D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E