#2E328E#2E328E
#2E328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.149 H 274.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E328E |
|---|---|
| RGB | rgb(46, 50, 142) |
| HSL | hsl(238, 51%, 37%) |
| HSV | hsv(238, 68%, 56%) |
| CMYK | cmyk(67.6%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(26.20, 29.16, -51.54) |
| CIE-LCH | lch(26.20, 59.22, 299.50°) |
| OKLab | oklab(37.56% 0.0122 -0.1486) |
| OKLCH | oklch(37.56% 0.149 274.7) |
| XYZ | xyz(7.1482, 4.8144, 26.1385) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 5.09
Blueberry
#464196
ΔE00 5.12
Royal
#0C1793
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.59
Ocean Blue
#4F42B5
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E328E #8E8A2E
analogous
#2E628E #2E328E #5A2E8E
triadic
#2E328E #8E2E32 #328E2E
tetradic
#2E328E #8E2E62 #8E8A2E #2E8E5A
square
#2E328E #8E2E62 #8E8A2E #2E8E5A
split-complementary
#2E328E #8E5A2E #628E2E
monochromatic
#101132 #1F2260 #2E328E #3D42BC #686CCE
Accessibility & contrast
On white
10.70
#2E328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E328E
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E328E | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e328e; /* rgb */ color: rgb(46, 50, 142); /* oklch */ color: oklch(37.6% 0.149 274.7);
Tailwind
colors: {
custom: {
50: '#736ab0',
500: '#2e328e',
950: '#000000',
},
}SCSS
$custom: #2e328e; $custom-light: #736ab0; $custom-dark: #000000;
JSON
{
"hex": "#2e328e",
"rgb": {
"r": 46,
"g": 50,
"b": 142
},
"hsl": {
"h": 237.5,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.37563,
"c": 0.14914,
"h": 274.7
},
"luminance": 0.04815
}Semantic roles & 50–950 ramp
primary
#2E328E
secondary
#B5B263
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80