#2E338E#2E338E
#2E338E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.148 H 274.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E338E |
|---|---|
| RGB | rgb(46, 51, 142) |
| HSL | hsl(237, 51%, 37%) |
| HSV | hsv(237, 68%, 56%) |
| CMYK | cmyk(67.6%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(26.45, 28.50, -51.13) |
| CIE-LCH | lch(26.45, 58.54, 299.13°) |
| OKLab | oklab(37.75% 0.0114 -0.1474) |
| OKLCH | oklch(37.75% 0.148 274.4) |
| XYZ | xyz(7.1914, 4.9009, 26.1529) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Blueberry
#464196
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 4.97
Royal
#0C1793
ΔE00 7.33
Midnight Blue
#191970
ΔE00 7.83
Ocean Blue
#4F42B5
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E338E #8E892E
analogous
#2E638E #2E338E #592E8E
triadic
#2E338E #8E2E33 #338E2E
tetradic
#2E338E #8E2E63 #8E892E #2E8E59
square
#2E338E #8E2E63 #8E892E #2E8E59
split-complementary
#2E338E #8E592E #638E2E
monochromatic
#101232 #1F2260 #2E338E #3D44BC #686ECE
Accessibility & contrast
On white
10.60
#2E338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2E338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E338E
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E338E | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e338e; /* rgb */ color: rgb(46, 51, 142); /* oklch */ color: oklch(37.7% 0.148 274.4);
Tailwind
colors: {
custom: {
50: '#736bb0',
500: '#2e338e',
950: '#000000',
},
}SCSS
$custom: #2e338e; $custom-light: #736bb0; $custom-dark: #000000;
JSON
{
"hex": "#2e338e",
"rgb": {
"r": 46,
"g": 51,
"b": 142
},
"hsl": {
"h": 236.875,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.37748,
"c": 0.14787,
"h": 274.4
},
"luminance": 0.04901
}Semantic roles & 50–950 ramp
primary
#2E338E
secondary
#B5B163
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80