#2E3779#2E3779
#2E3779 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.112 H 273.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3779 |
|---|---|
| RGB | rgb(46, 55, 121) |
| HSL | hsl(233, 45%, 33%) |
| HSV | hsv(233, 62%, 47%) |
| CMYK | cmyk(62%, 54.5%, 0%, 52.5%) |
| CIE-LAB | lab(25.84, 18.10, -38.99) |
| CIE-LCH | lch(25.84, 42.98, 294.90°) |
| OKLab | oklab(36.77% 0.0073 -0.1117) |
| OKLCH | oklch(36.77% 0.112 273.7) |
| XYZ | xyz(5.9430, 4.6932, 18.6782) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 6.10
Marine
#042E60
ΔE00 6.68
Marine Blue
#01386A
ΔE00 7.25
Darkish Blue
#014182
ΔE00 7.45
Cobalt (survey)
#1E488F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3779 #79702E
analogous
#2E5C79 #2E3779 #4A2E79
triadic
#2E3779 #792E37 #37792E
tetradic
#2E3779 #792E5C #79702E #2E794A
square
#2E3779 #792E5C #79702E #2E794A
split-complementary
#2E3779 #794A2E #5C792E
monochromatic
#0C0F20 #1D234D #2E3779 #3F4BA5 #5F6BC2
Accessibility & contrast
On white
10.83
#2E3779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E3779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3779
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3779 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e3779; /* rgb */ color: rgb(46, 55, 121); /* oklch */ color: oklch(36.8% 0.112 273.7);
Tailwind
colors: {
custom: {
50: '#6f6da0',
500: '#2e3779',
950: '#000000',
},
}SCSS
$custom: #2e3779; $custom-light: #6f6da0; $custom-dark: #000000;
JSON
{
"hex": "#2e3779",
"rgb": {
"r": 46,
"g": 55,
"b": 121
},
"hsl": {
"h": 232.8,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.36768,
"c": 0.11191,
"h": 273.7
},
"luminance": 0.04694
}Semantic roles & 50–950 ramp
primary
#2E3779
secondary
#A99F5A
accent
#C553D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070F
muted
#7B7A7E