#2E3595#2E3595
#2E3595 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.155 H 273.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3595 |
|---|---|
| RGB | rgb(46, 53, 149) |
| HSL | hsl(236, 53%, 38%) |
| HSV | hsv(236, 69%, 58%) |
| CMYK | cmyk(69.1%, 64.4%, 0%, 41.6%) |
| CIE-LAB | lab(27.56, 29.72, -53.63) |
| CIE-LCH | lch(27.56, 61.31, 299.00°) |
| OKLab | oklab(38.75% 0.0093 -0.1547) |
| OKLCH | oklch(38.75% 0.155 273.4) |
| XYZ | xyz(7.8228, 5.2963, 29.0380) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Blueberry
#464196
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 7.09
Blue Blue
#2242C7
ΔE00 7.59
Royal
#0C1793
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3595 #958E2E
analogous
#2E6895 #2E3595 #5A2E95
triadic
#2E3595 #952E35 #35952E
tetradic
#2E3595 #952E68 #958E2E #2E955A
square
#2E3595 #952E68 #958E2E #2E955A
split-complementary
#2E3595 #955A2E #68952E
monochromatic
#111437 #202466 #2E3595 #3D46C3 #6C73D2
Accessibility & contrast
On white
10.20
#2E3595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2E3595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3595
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3595 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3595; /* rgb */ color: rgb(46, 53, 149); /* oklch */ color: oklch(38.8% 0.155 273.4);
Tailwind
colors: {
custom: {
50: '#756cb5',
500: '#2e3595',
950: '#000000',
},
}SCSS
$custom: #2e3595; $custom-light: #756cb5; $custom-dark: #000000;
JSON
{
"hex": "#2e3595",
"rgb": {
"r": 46,
"g": 53,
"b": 149
},
"hsl": {
"h": 235.922,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.38753,
"c": 0.15501,
"h": 273.4
},
"luminance": 0.05297
}Semantic roles & 50–950 ramp
primary
#2E3595
secondary
#B9B366
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80