#2E329E#2E329E
#2E329E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.171 H 273.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E329E |
|---|---|
| RGB | rgb(46, 50, 158) |
| HSL | hsl(238, 55%, 40%) |
| HSV | hsv(238, 71%, 62%) |
| CMYK | cmyk(70.9%, 68.4%, 0%, 38%) |
| CIE-LAB | lab(27.65, 34.87, -58.97) |
| CIE-LCH | lch(27.65, 68.51, 300.60°) |
| OKLab | oklab(39.07% 0.0107 -0.1704) |
| OKLCH | oklch(39.07% 0.171 273.6) |
| XYZ | xyz(8.4368, 5.3299, 32.9253) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.78
Blueberry
#464196
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 6.05
Indigo Blue
#3A18B1
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 6.57
Royal
#0C1793
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E329E #9E9A2E
analogous
#2E6A9E #2E329E #622E9E
triadic
#2E329E #9E2E32 #329E2E
tetradic
#2E329E #9E2E6A #9E9A2E #2E9E62
square
#2E329E #9E2E6A #9E9A2E #2E9E62
split-complementary
#2E329E #9E622E #6A9E2E
monochromatic
#12143F #20236F #2E329E #4146C8 #7174D6
Accessibility & contrast
On white
10.16
#2E329E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E329E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E329E
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E329E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E329E | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e329e; /* rgb */ color: rgb(46, 50, 158); /* oklch */ color: oklch(39.1% 0.171 273.6);
Tailwind
colors: {
custom: {
50: '#776abc',
500: '#2e329e',
950: '#000000',
},
}SCSS
$custom: #2e329e; $custom-light: #776abc; $custom-dark: #000000;
JSON
{
"hex": "#2e329e",
"rgb": {
"r": 46,
"g": 50,
"b": 158
},
"hsl": {
"h": 237.857,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.39071,
"c": 0.17075,
"h": 273.6
},
"luminance": 0.05331
}Semantic roles & 50–950 ramp
primary
#2E329E
secondary
#BDBA6B
accent
#D94ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81