#2E3992#2E3992
#2E3992 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.146 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3992 |
|---|---|
| RGB | rgb(46, 57, 146) |
| HSL | hsl(233, 52%, 38%) |
| HSV | hsv(233, 68%, 57%) |
| CMYK | cmyk(68.5%, 61%, 0%, 42.7%) |
| CIE-LAB | lab(28.33, 25.98, -50.53) |
| CIE-LCH | lch(28.33, 56.82, 297.21°) |
| OKLab | oklab(39.24% 0.0061 -0.1456) |
| OKLCH | oklch(39.24% 0.146 272.4) |
| XYZ | xyz(7.7764, 5.5817, 27.8561) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Blueberry
#464196
ΔE00 4.06
Darkslateblue
#483D8B
ΔE00 4.82
Cobalt
#0047AB
ΔE00 6.76
Cobalt (survey)
#1E488F
ΔE00 6.77
Ocean Blue
#4F42B5
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3992 #92872E
analogous
#2E6B92 #2E3992 #552E92
triadic
#2E3992 #922E39 #39922E
tetradic
#2E3992 #922E6B #92872E #2E9255
square
#2E3992 #922E6B #92872E #2E9255
split-complementary
#2E3992 #92552E #6B922E
monochromatic
#111535 #1F2763 #2E3992 #3D4BC1 #6A75D0
Accessibility & contrast
On white
9.92
#2E3992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2E3992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3992
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3992 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e3992; /* rgb */ color: rgb(46, 57, 146); /* oklch */ color: oklch(39.2% 0.146 272.4);
Tailwind
colors: {
custom: {
50: '#746fb3',
500: '#2e3992',
950: '#000000',
},
}SCSS
$custom: #2e3992; $custom-light: #746fb3; $custom-dark: #000000;
JSON
{
"hex": "#2e3992",
"rgb": {
"r": 46,
"g": 57,
"b": 146
},
"hsl": {
"h": 233.4,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.39241,
"c": 0.14574,
"h": 272.4
},
"luminance": 0.05582
}Semantic roles & 50–950 ramp
primary
#2E3992
secondary
#B7AE65
accent
#CC4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80