#2E3E91#2E3E91
#2E3E91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.138 H 270.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E91 |
|---|---|
| RGB | rgb(46, 62, 145) |
| HSL | hsl(230, 52%, 37%) |
| HSV | hsv(230, 68%, 57%) |
| CMYK | cmyk(68.3%, 57.2%, 0%, 43.1%) |
| CIE-LAB | lab(29.59, 22.24, -47.88) |
| CIE-LCH | lch(29.59, 52.79, 294.92°) |
| OKLab | oklab(40.15% 0.0017 -0.1377) |
| OKLCH | oklch(40.15% 0.138 270.7) |
| XYZ | xyz(7.9584, 6.0697, 27.5347) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.63
Darkish Blue
#014182
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E91 #91812E
analogous
#2E6F91 #2E3E91 #502E91
triadic
#2E3E91 #912E3E #3E912E
tetradic
#2E3E91 #912E6F #91812E #2E9150
square
#2E3E91 #912E6F #91812E #2E9150
split-complementary
#2E3E91 #91502E #6F912E
monochromatic
#111634 #1F2A63 #2E3E91 #3D52BF #6A7AD0
Accessibility & contrast
On white
9.49
#2E3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2E3E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E91
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E91 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e3e91; /* rgb */ color: rgb(46, 62, 145); /* oklch */ color: oklch(40.2% 0.138 270.7);
Tailwind
colors: {
custom: {
50: '#7373b2',
500: '#2e3e91',
950: '#000000',
},
}SCSS
$custom: #2e3e91; $custom-light: #7373b2; $custom-dark: #000000;
JSON
{
"hex": "#2e3e91",
"rgb": {
"r": 46,
"g": 62,
"b": 145
},
"hsl": {
"h": 230.303,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.40152,
"c": 0.13775,
"h": 270.7
},
"luminance": 0.0607
}Semantic roles & 50–950 ramp
primary
#2E3E91
secondary
#B7A964
accent
#C44DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80