#2E348E#2E348E
#2E348E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.147 H 274.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E348E |
|---|---|
| RGB | rgb(46, 52, 142) |
| HSL | hsl(236, 51%, 37%) |
| HSV | hsv(236, 68%, 56%) |
| CMYK | cmyk(67.6%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(26.70, 27.84, -50.72) |
| CIE-LCH | lch(26.70, 57.86, 298.76°) |
| OKLab | oklab(37.93% 0.0105 -0.1462) |
| OKLCH | oklch(37.93% 0.147 274.1) |
| XYZ | xyz(7.2356, 4.9892, 26.1676) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Blueberry
#464196
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 4.87
Royal
#0C1793
ΔE00 7.63
Ocean Blue
#4F42B5
ΔE00 7.92
Midnight Blue
#191970
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E348E #8E882E
analogous
#2E648E #2E348E #582E8E
triadic
#2E348E #8E2E34 #348E2E
tetradic
#2E348E #8E2E64 #8E882E #2E8E58
square
#2E348E #8E2E64 #8E882E #2E8E58
split-complementary
#2E348E #8E582E #648E2E
monochromatic
#101232 #1F2360 #2E348E #3D45BC #686FCE
Accessibility & contrast
On white
10.51
#2E348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E348E
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E348E | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e348e; /* rgb */ color: rgb(46, 52, 142); /* oklch */ color: oklch(37.9% 0.147 274.1);
Tailwind
colors: {
custom: {
50: '#736bb0',
500: '#2e348e',
950: '#000000',
},
}SCSS
$custom: #2e348e; $custom-light: #736bb0; $custom-dark: #000000;
JSON
{
"hex": "#2e348e",
"rgb": {
"r": 46,
"g": 52,
"b": 142
},
"hsl": {
"h": 236.25,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.37934,
"c": 0.14658,
"h": 274.1
},
"luminance": 0.0499
}Semantic roles & 50–950 ramp
primary
#2E348E
secondary
#B5B063
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80