#2E358A#2E358A
#2E358A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.140 H 274.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E358A |
|---|---|
| RGB | rgb(46, 53, 138) |
| HSL | hsl(235, 50%, 36%) |
| HSV | hsv(235, 67%, 54%) |
| CMYK | cmyk(66.7%, 61.6%, 0%, 45.9%) |
| CIE-LAB | lab(26.62, 25.71, -48.37) |
| CIE-LCH | lch(26.62, 54.78, 298.00°) |
| OKLab | oklab(37.77% 0.0098 -0.1393) |
| OKLCH | oklch(37.77% 0.14 274) |
| XYZ | xyz(6.9857, 4.9614, 24.6293) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.71
Blueberry
#464196
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 7.85
Midnight Blue
#191970
ΔE00 8.15
Royal
#0C1793
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E358A #8A832E
analogous
#2E638A #2E358A #552E8A
triadic
#2E358A #8A2E35 #358A2E
tetradic
#2E358A #8A2E63 #8A832E #2E8A55
square
#2E358A #8A2E63 #8A832E #2E8A55
split-complementary
#2E358A #8A552E #638A2E
monochromatic
#0F122E #1F235C #2E358A #3D47B8 #666ECC
Accessibility & contrast
On white
10.54
#2E358A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E358A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E358A
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E358A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E358A | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e358a; /* rgb */ color: rgb(46, 53, 138); /* oklch */ color: oklch(37.8% 0.140 274.0);
Tailwind
colors: {
custom: {
50: '#726cad',
500: '#2e358a',
950: '#000000',
},
}SCSS
$custom: #2e358a; $custom-light: #726cad; $custom-dark: #000000;
JSON
{
"hex": "#2e358a",
"rgb": {
"r": 46,
"g": 53,
"b": 138
},
"hsl": {
"h": 235.435,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.3777,
"c": 0.13963,
"h": 274
},
"luminance": 0.04962
}Semantic roles & 50–950 ramp
primary
#2E358A
secondary
#B3AD61
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F