#2E348D#2E348D
#2E348D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.145 H 274.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E348D |
|---|---|
| RGB | rgb(46, 52, 141) |
| HSL | hsl(236, 51%, 37%) |
| HSV | hsv(236, 67%, 55%) |
| CMYK | cmyk(67.4%, 63.1%, 0%, 44.7%) |
| CIE-LAB | lab(26.62, 27.48, -50.24) |
| CIE-LCH | lch(26.62, 57.26, 298.67°) |
| OKLab | oklab(37.84% 0.0106 -0.1448) |
| OKLCH | oklch(37.84% 0.145 274.2) |
| XYZ | xyz(7.1608, 4.9593, 25.7740) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 4.84
Royal
#0C1793
ΔE00 7.68
Midnight Blue
#191970
ΔE00 8.02
Ocean Blue
#4F42B5
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E348D #8D872E
analogous
#2E648D #2E348D #582E8D
triadic
#2E348D #8D2E34 #348D2E
tetradic
#2E348D #8D2E64 #8D872E #2E8D58
square
#2E348D #8D2E64 #8D872E #2E8D58
split-complementary
#2E348D #8D582E #648D2E
monochromatic
#101231 #1F235F #2E348D #3D45BB #686ECE
Accessibility & contrast
On white
10.54
#2E348D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E348D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E348D
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E348D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E348D | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e348d; /* rgb */ color: rgb(46, 52, 141); /* oklch */ color: oklch(37.8% 0.145 274.2);
Tailwind
colors: {
custom: {
50: '#736baf',
500: '#2e348d',
950: '#000000',
},
}SCSS
$custom: #2e348d; $custom-light: #736baf; $custom-dark: #000000;
JSON
{
"hex": "#2e348d",
"rgb": {
"r": 46,
"g": 52,
"b": 141
},
"hsl": {
"h": 236.211,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.37844,
"c": 0.14518,
"h": 274.2
},
"luminance": 0.0496
}Semantic roles & 50–950 ramp
primary
#2E348D
secondary
#B5AF62
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F