#2E3395#2E3395
#2E3395 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.158 H 274.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3395 |
|---|---|
| RGB | rgb(46, 51, 149) |
| HSL | hsl(237, 53%, 38%) |
| HSV | hsv(237, 69%, 58%) |
| CMYK | cmyk(69.1%, 65.8%, 0%, 41.6%) |
| CIE-LAB | lab(27.07, 31.03, -54.44) |
| CIE-LCH | lch(27.07, 62.66, 299.68°) |
| OKLab | oklab(38.39% 0.0109 -0.1571) |
| OKLCH | oklch(38.39% 0.158 274) |
| XYZ | xyz(7.7336, 5.1177, 29.0082) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Blueberry
#464196
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.31
Royal
#0C1793
ΔE00 7.07
Ocean Blue
#4F42B5
ΔE00 7.25
Indigo Blue
#3A18B1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3395 #95902E
analogous
#2E6695 #2E3395 #5C2E95
triadic
#2E3395 #952E33 #33952E
tetradic
#2E3395 #952E66 #95902E #2E955C
square
#2E3395 #952E66 #95902E #2E955C
split-complementary
#2E3395 #955C2E #66952E
monochromatic
#111337 #202366 #2E3395 #3D44C3 #6C71D2
Accessibility & contrast
On white
10.38
#2E3395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2E3395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3395
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3395 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3395; /* rgb */ color: rgb(46, 51, 149); /* oklch */ color: oklch(38.4% 0.158 274.0);
Tailwind
colors: {
custom: {
50: '#756bb5',
500: '#2e3395',
950: '#000000',
},
}SCSS
$custom: #2e3395; $custom-light: #756bb5; $custom-dark: #000000;
JSON
{
"hex": "#2e3395",
"rgb": {
"r": 46,
"g": 51,
"b": 149
},
"hsl": {
"h": 237.087,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.38391,
"c": 0.1575,
"h": 274
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#2E3395
secondary
#B9B566
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80