#2E328D#2E328D
#2E328D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.148 H 274.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E328D |
|---|---|
| RGB | rgb(46, 50, 141) |
| HSL | hsl(237, 51%, 37%) |
| HSV | hsv(237, 67%, 55%) |
| CMYK | cmyk(67.4%, 64.5%, 0%, 44.7%) |
| CIE-LAB | lab(26.11, 28.80, -51.07) |
| CIE-LCH | lch(26.11, 58.63, 299.42°) |
| OKLab | oklab(37.47% 0.0123 -0.1472) |
| OKLCH | oklch(37.47% 0.148 274.8) |
| XYZ | xyz(7.0734, 4.7845, 25.7449) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.69
Darkslateblue
#483D8B
ΔE00 5.05
Blueberry
#464196
ΔE00 5.14
Royal
#0C1793
ΔE00 7.09
Midnight Blue
#191970
ΔE00 7.53
Ocean Blue
#4F42B5
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E328D #8D892E
analogous
#2E628D #2E328D #5A2E8D
triadic
#2E328D #8D2E32 #328D2E
tetradic
#2E328D #8D2E62 #8D892E #2E8D5A
square
#2E328D #8D2E62 #8D892E #2E8D5A
split-complementary
#2E328D #8D5A2E #628D2E
monochromatic
#101131 #1F225F #2E328D #3D42BB #686CCE
Accessibility & contrast
On white
10.73
#2E328D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E328D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E328D
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E328D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E328D | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e328d; /* rgb */ color: rgb(46, 50, 141); /* oklch */ color: oklch(37.5% 0.148 274.8);
Tailwind
colors: {
custom: {
50: '#736aaf',
500: '#2e328d',
950: '#000000',
},
}SCSS
$custom: #2e328d; $custom-light: #736aaf; $custom-dark: #000000;
JSON
{
"hex": "#2e328d",
"rgb": {
"r": 46,
"g": 50,
"b": 141
},
"hsl": {
"h": 237.474,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.37472,
"c": 0.14775,
"h": 274.8
},
"luminance": 0.04785
}Semantic roles & 50–950 ramp
primary
#2E328D
secondary
#B5B162
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F