#2E3373#2E3373
#2E3373 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.109 H 276.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3373 |
|---|---|
| RGB | rgb(46, 51, 115) |
| HSL | hsl(236, 43%, 32%) |
| HSV | hsv(236, 60%, 45%) |
| CMYK | cmyk(60%, 55.7%, 0%, 54.9%) |
| CIE-LAB | lab(24.28, 18.66, -37.70) |
| CIE-LCH | lch(24.28, 42.06, 296.33°) |
| OKLab | oklab(35.45% 0.0114 -0.1079) |
| OKLCH | oklch(35.45% 0.109 276) |
| XYZ | xyz(5.4041, 4.1859, 16.7395) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.90
Marine
#042E60
ΔE00 6.63
Blueberry
#464196
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.79
Marine Blue
#01386A
ΔE00 7.94
Navy Blue
#1B2A4A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3373 #736E2E
analogous
#2E5673 #2E3373 #4C2E73
triadic
#2E3373 #732E33 #33732E
tetradic
#2E3373 #732E56 #736E2E #2E734C
square
#2E3373 #732E56 #736E2E #2E734C
split-complementary
#2E3373 #734C2E #56732E
monochromatic
#0B0C1C #1D2047 #2E3373 #3F469F #5D64BE
Accessibility & contrast
On white
11.43
#2E3373 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2E3373 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3373
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3373 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3373 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#04424D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e3373; /* rgb */ color: rgb(46, 51, 115); /* oklch */ color: oklch(35.5% 0.109 276.0);
Tailwind
colors: {
custom: {
50: '#6e6a9c',
500: '#2e3373',
950: '#000000',
},
}SCSS
$custom: #2e3373; $custom-light: #6e6a9c; $custom-dark: #000000;
JSON
{
"hex": "#2e3373",
"rgb": {
"r": 46,
"g": 51,
"b": 115
},
"hsl": {
"h": 235.652,
"s": 42.857,
"l": 31.569
},
"oklch": {
"l": 0.35451,
"c": 0.10853,
"h": 276
},
"luminance": 0.04186
}Semantic roles & 50–950 ramp
primary
#2E3373
secondary
#A49F58
accent
#CA55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E