#2E347D#2E347D
#2E347D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.122 H 275.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E347D |
|---|---|
| RGB | rgb(46, 52, 125) |
| HSL | hsl(235, 46%, 34%) |
| HSV | hsv(235, 63%, 49%) |
| CMYK | cmyk(63.2%, 58.4%, 0%, 51%) |
| CIE-LAB | lab(25.31, 21.63, -42.37) |
| CIE-LCH | lch(25.31, 47.57, 297.04°) |
| OKLab | oklab(36.47% 0.0107 -0.1217) |
| OKLCH | oklch(36.47% 0.122 275) |
| XYZ | xyz(6.0552, 4.5170, 19.9508) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.05
Blueberry
#464196
ΔE00 5.80
Sapphire (survey)
#2138AB
ΔE00 7.09
Marine
#042E60
ΔE00 7.31
Midnight Blue
#191970
ΔE00 7.69
Marine Blue
#01386A
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E347D #7D772E
analogous
#2E5B7D #2E347D #4F2E7D
triadic
#2E347D #7D2E34 #347D2E
tetradic
#2E347D #7D2E5B #7D772E #2E7D4F
square
#2E347D #7D2E5B #7D772E #2E7D4F
split-complementary
#2E347D #7D4F2E #5B7D2E
monochromatic
#0D0F24 #1E2150 #2E347D #3E47AA #6168C5
Accessibility & contrast
On white
11.03
#2E347D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E347D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E347D
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E347D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E347D | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e347d; /* rgb */ color: rgb(46, 52, 125); /* oklch */ color: oklch(36.5% 0.122 275.0);
Tailwind
colors: {
custom: {
50: '#706ba3',
500: '#2e347d',
950: '#000000',
},
}SCSS
$custom: #2e347d; $custom-light: #706ba3; $custom-dark: #000000;
JSON
{
"hex": "#2e347d",
"rgb": {
"r": 46,
"g": 52,
"b": 125
},
"hsl": {
"h": 235.443,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.36466,
"c": 0.12213,
"h": 275
},
"luminance": 0.04517
}Semantic roles & 50–950 ramp
primary
#2E347D
secondary
#ABA55B
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F