#2E327F#2E327F
#2E327F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.128 H 275.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E327F |
|---|---|
| RGB | rgb(46, 50, 127) |
| HSL | hsl(237, 47%, 34%) |
| HSV | hsv(237, 64%, 50%) |
| CMYK | cmyk(63.8%, 60.6%, 0%, 50.2%) |
| CIE-LAB | lab(24.93, 23.72, -44.24) |
| CIE-LCH | lch(24.93, 50.20, 298.19°) |
| OKLab | oklab(36.24% 0.0127 -0.1272) |
| OKLCH | oklch(36.24% 0.128 275.7) |
| XYZ | xyz(6.0968, 4.3939, 20.6014) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.06
Blueberry
#464196
ΔE00 5.84
Sapphire (survey)
#2138AB
ΔE00 6.80
Midnight Blue
#191970
ΔE00 7.06
Marine
#042E60
ΔE00 7.76
Royal
#0C1793
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E327F #7F7B2E
analogous
#2E5B7F #2E327F #532E7F
triadic
#2E327F #7F2E32 #327F2E
tetradic
#2E327F #7F2E5B #7F7B2E #2E7F53
square
#2E327F #7F2E5B #7F7B2E #2E7F53
split-complementary
#2E327F #7F532E #5B7F2E
monochromatic
#0D0F25 #1E2052 #2E327F #3E44AC #6166C6
Accessibility & contrast
On white
11.18
#2E327F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2E327F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E327F
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E327F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E327F | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e327f; /* rgb */ color: rgb(46, 50, 127); /* oklch */ color: oklch(36.2% 0.128 275.7);
Tailwind
colors: {
custom: {
50: '#706aa5',
500: '#2e327f',
950: '#000000',
},
}SCSS
$custom: #2e327f; $custom-light: #706aa5; $custom-dark: #000000;
JSON
{
"hex": "#2e327f",
"rgb": {
"r": 46,
"g": 50,
"b": 127
},
"hsl": {
"h": 237.037,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.36235,
"c": 0.12784,
"h": 275.7
},
"luminance": 0.04394
}Semantic roles & 50–950 ramp
primary
#2E327F
secondary
#ADA95C
accent
#D051D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F