#2E3D91#2E3D91
#2E3D91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 271.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3D91 |
|---|---|
| RGB | rgb(46, 61, 145) |
| HSL | hsl(231, 52%, 37%) |
| HSV | hsv(231, 68%, 57%) |
| CMYK | cmyk(68.3%, 57.9%, 0%, 43.1%) |
| CIE-LAB | lab(29.32, 22.92, -48.32) |
| CIE-LCH | lch(29.32, 53.48, 295.38°) |
| OKLab | oklab(39.95% 0.0026 -0.139) |
| OKLCH | oklch(39.95% 0.139 271.1) |
| XYZ | xyz(7.9046, 5.9619, 27.5168) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.36
Darkslateblue
#483D8B
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.86
Darkish Blue
#014182
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3D91 #91822E
analogous
#2E6F91 #2E3D91 #512E91
triadic
#2E3D91 #912E3D #3D912E
tetradic
#2E3D91 #912E6F #91822E #2E9151
square
#2E3D91 #912E6F #91822E #2E9151
split-complementary
#2E3D91 #91512E #6F912E
monochromatic
#111634 #1F2963 #2E3D91 #3D51BF #6A79D0
Accessibility & contrast
On white
9.58
#2E3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2E3D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3D91
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3D91 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e3d91; /* rgb */ color: rgb(46, 61, 145); /* oklch */ color: oklch(39.9% 0.139 271.1);
Tailwind
colors: {
custom: {
50: '#7372b2',
500: '#2e3d91',
950: '#000000',
},
}SCSS
$custom: #2e3d91; $custom-light: #7372b2; $custom-dark: #000000;
JSON
{
"hex": "#2e3d91",
"rgb": {
"r": 46,
"g": 61,
"b": 145
},
"hsl": {
"h": 230.909,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.39949,
"c": 0.13907,
"h": 271.1
},
"luminance": 0.05963
}Semantic roles & 50–950 ramp
primary
#2E3D91
secondary
#B7AA64
accent
#C64DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80