#2E347E#2E347E
#2E347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.124 H 275.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E347E |
|---|---|
| RGB | rgb(46, 52, 126) |
| HSL | hsl(236, 47%, 34%) |
| HSV | hsv(236, 63%, 49%) |
| CMYK | cmyk(63.5%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(25.39, 21.99, -42.87) |
| CIE-LCH | lch(25.39, 48.18, 297.16°) |
| OKLab | oklab(36.55% 0.0107 -0.1231) |
| OKLCH | oklch(36.55% 0.124 275) |
| XYZ | xyz(6.1194, 4.5427, 20.2890) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.99
Blueberry
#464196
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 6.92
Marine
#042E60
ΔE00 7.41
Midnight Blue
#191970
ΔE00 7.68
Marine Blue
#01386A
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E347E #7E782E
analogous
#2E5C7E #2E347E #502E7E
triadic
#2E347E #7E2E34 #347E2E
tetradic
#2E347E #7E2E5C #7E782E #2E7E50
square
#2E347E #7E2E5C #7E782E #2E7E50
split-complementary
#2E347E #7E502E #5C7E2E
monochromatic
#0D0F24 #1E2151 #2E347E #3E47AB #6169C5
Accessibility & contrast
On white
11.00
#2E347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E347E
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E347E | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e347e; /* rgb */ color: rgb(46, 52, 126); /* oklch */ color: oklch(36.5% 0.124 275.0);
Tailwind
colors: {
custom: {
50: '#706ba4',
500: '#2e347e',
950: '#000000',
},
}SCSS
$custom: #2e347e; $custom-light: #706ba4; $custom-dark: #000000;
JSON
{
"hex": "#2e347e",
"rgb": {
"r": 46,
"g": 52,
"b": 126
},
"hsl": {
"h": 235.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.36549,
"c": 0.12361,
"h": 275
},
"luminance": 0.04543
}Semantic roles & 50–950 ramp
primary
#2E347E
secondary
#ACA65C
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F