#2E329F#2E329F
#2E329F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.172 H 273.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E329F |
|---|---|
| RGB | rgb(46, 50, 159) |
| HSL | hsl(238, 55%, 40%) |
| HSV | hsv(238, 71%, 62%) |
| CMYK | cmyk(71.1%, 68.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.75, 35.23, -59.43) |
| CIE-LCH | lch(27.75, 69.08, 300.66°) |
| OKLab | oklab(39.17% 0.0106 -0.1717) |
| OKLCH | oklch(39.17% 0.172 273.5) |
| XYZ | xyz(8.5232, 5.3644, 33.3804) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blueberry
#464196
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.49
Royal
#0C1793
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E329F #9F9B2E
analogous
#2E6A9F #2E329F #622E9F
triadic
#2E329F #9F2E32 #329F2E
tetradic
#2E329F #9F2E6A #9F9B2E #2E9F62
square
#2E329F #9F2E6A #9F9B2E #2E9F62
split-complementary
#2E329F #9F622E #6A9F2E
monochromatic
#131440 #202370 #2E329F #4247C8 #7175D6
Accessibility & contrast
On white
10.13
#2E329F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E329F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E329F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E329F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E329F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e329f; /* rgb */ color: rgb(46, 50, 159); /* oklch */ color: oklch(39.2% 0.172 273.5);
Tailwind
colors: {
custom: {
50: '#776abc',
500: '#2e329f',
950: '#000000',
},
}SCSS
$custom: #2e329f; $custom-light: #776abc; $custom-dark: #000000;
JSON
{
"hex": "#2e329f",
"rgb": {
"r": 46,
"g": 50,
"b": 159
},
"hsl": {
"h": 237.876,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.39168,
"c": 0.17207,
"h": 273.5
},
"luminance": 0.05365
}Semantic roles & 50–950 ramp
primary
#2E329F
secondary
#BEBB6B
accent
#D949DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81