#2E2D70#2E2D70
#2E2D70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.113 H 279.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D70 |
|---|---|
| RGB | rgb(46, 45, 112) |
| HSL | hsl(241, 43%, 31%) |
| HSV | hsv(241, 60%, 44%) |
| CMYK | cmyk(58.9%, 59.8%, 0%, 56.1%) |
| CIE-LAB | lab(22.40, 21.70, -38.81) |
| CIE-LCH | lch(22.40, 44.47, 299.21°) |
| OKLab | oklab(33.98% 0.0181 -0.1113) |
| OKLCH | oklch(33.98% 0.113 279.2) |
| XYZ | xyz(4.9888, 3.6271, 15.7633) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.53
Marine
#042E60
ΔE00 7.48
Blueberry
#464196
ΔE00 7.99
Navy Blue
#1B2A4A
ΔE00 8.37
Royal
#0C1793
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D70 #6F702D
analogous
#2D4D70 #2E2D70 #4F2D70
triadic
#2E2D70 #702E2D #2D702E
tetradic
#2E2D70 #702D4D #6F702D #2D704F
square
#2E2D70 #702D4D #6F702D #2D704F
split-complementary
#2E2D70 #704F2D #4D702D
monochromatic
#0A0A19 #1C1B44 #2E2D70 #403F9C #5C5ABD
Accessibility & contrast
On white
12.17
#2E2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2E2D70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D70
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D70 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#0B3D49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2d70; /* rgb */ color: rgb(46, 45, 112); /* oklch */ color: oklch(34.0% 0.113 279.2);
Tailwind
colors: {
custom: {
50: '#6d669a',
500: '#2e2d70',
950: '#000000',
},
}SCSS
$custom: #2e2d70; $custom-light: #6d669a; $custom-dark: #000000;
JSON
{
"hex": "#2e2d70",
"rgb": {
"r": 46,
"g": 45,
"b": 112
},
"hsl": {
"h": 240.896,
"s": 42.675,
"l": 30.784
},
"oklch": {
"l": 0.33977,
"c": 0.11273,
"h": 279.2
},
"luminance": 0.03627
}Semantic roles & 50–950 ramp
primary
#2E2D70
secondary
#A0A257
accent
#D255D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E