#2E3383#2E3383
#2E3383 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.132 H 275.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3383 |
|---|---|
| RGB | rgb(46, 51, 131) |
| HSL | hsl(236, 48%, 35%) |
| HSV | hsv(236, 65%, 51%) |
| CMYK | cmyk(64.9%, 61.1%, 0%, 48.6%) |
| CIE-LAB | lab(25.52, 24.50, -45.80) |
| CIE-LCH | lch(25.52, 51.94, 298.14°) |
| OKLab | oklab(36.77% 0.0117 -0.1317) |
| OKLCH | oklch(36.77% 0.132 275.1) |
| XYZ | xyz(6.4059, 4.5867, 22.0161) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.87
Blueberry
#464196
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 6.12
Midnight Blue
#191970
ΔE00 7.39
Marine
#042E60
ΔE00 8.04
Royal
#0C1793
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3383 #837E2E
analogous
#2E5D83 #2E3383 #542E83
triadic
#2E3383 #832E33 #33832E
tetradic
#2E3383 #832E5D #837E2E #2E8354
square
#2E3383 #832E5D #837E2E #2E8354
split-complementary
#2E3383 #83542E #5D832E
monochromatic
#0E1028 #1E2156 #2E3383 #3E45B0 #6369C8
Accessibility & contrast
On white
10.95
#2E3383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2E3383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3383
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3383 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e3383; /* rgb */ color: rgb(46, 51, 131); /* oklch */ color: oklch(36.8% 0.132 275.1);
Tailwind
colors: {
custom: {
50: '#716aa8',
500: '#2e3383',
950: '#000000',
},
}SCSS
$custom: #2e3383; $custom-light: #716aa8; $custom-dark: #000000;
JSON
{
"hex": "#2e3383",
"rgb": {
"r": 46,
"g": 51,
"b": 131
},
"hsl": {
"h": 236.471,
"s": 48.023,
"l": 34.706
},
"oklch": {
"l": 0.36774,
"c": 0.13227,
"h": 275.1
},
"luminance": 0.04587
}Semantic roles & 50–950 ramp
primary
#2E3383
secondary
#AFAA5E
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F