#2E3D9E#2E3D9E
#2E3D9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.157 H 271.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3D9E |
|---|---|
| RGB | rgb(46, 61, 158) |
| HSL | hsl(232, 55%, 40%) |
| HSV | hsv(232, 71%, 62%) |
| CMYK | cmyk(70.9%, 61.4%, 0%, 38%) |
| CIE-LAB | lab(30.37, 27.74, -54.54) |
| CIE-LCH | lch(30.37, 61.19, 296.96°) |
| OKLab | oklab(41.06% 0.0027 -0.1573) |
| OKLCH | oklch(41.06% 0.157 271) |
| XYZ | xyz(8.9649, 6.3861, 33.1013) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.55
Blueberry
#464196
ΔE00 4.01
Cobalt
#0047AB
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3D9E #9E8F2E
analogous
#2E759E #2E3D9E #572E9E
triadic
#2E3D9E #9E2E3D #3D9E2E
tetradic
#2E3D9E #9E2E75 #9E8F2E #2E9E57
square
#2E3D9E #9E2E75 #9E8F2E #2E9E57
split-complementary
#2E3D9E #9E572E #759E2E
monochromatic
#12183F #202B6F #2E3D9E #4153C8 #717ED6
Accessibility & contrast
On white
9.22
#2E3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2E3D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3D9E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3D9E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e3d9e; /* rgb */ color: rgb(46, 61, 158); /* oklch */ color: oklch(41.1% 0.157 271.0);
Tailwind
colors: {
custom: {
50: '#7672bb',
500: '#2e3d9e',
950: '#000000',
},
}SCSS
$custom: #2e3d9e; $custom-light: #7672bb; $custom-dark: #000000;
JSON
{
"hex": "#2e3d9e",
"rgb": {
"r": 46,
"g": 61,
"b": 158
},
"hsl": {
"h": 231.964,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.41059,
"c": 0.15735,
"h": 271
},
"luminance": 0.06387
}Semantic roles & 50–950 ramp
primary
#2E3D9E
secondary
#BDB26B
accent
#CA4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81