#2E2E77#2E2E77
#2E2E77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.122 H 278.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E77 |
|---|---|
| RGB | rgb(46, 46, 119) |
| HSL | hsl(240, 44%, 32%) |
| HSV | hsv(240, 61%, 47%) |
| CMYK | cmyk(61.3%, 61.3%, 0%, 53.3%) |
| CIE-LAB | lab(23.22, 23.53, -41.95) |
| CIE-LCH | lch(23.22, 48.10, 299.29°) |
| OKLab | oklab(34.77% 0.0169 -0.1205) |
| OKLCH | oklch(34.77% 0.122 278) |
| XYZ | xyz(5.4324, 3.8663, 17.9092) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.87
Midnight Blue
#191970
ΔE00 5.98
Blueberry
#464196
ΔE00 7.11
Marine
#042E60
ΔE00 7.71
Royal
#0C1793
ΔE00 8.19
Sapphire (survey)
#2138AB
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E77 #77772E
analogous
#2E5377 #2E2E77 #532E77
triadic
#2E2E77 #772E2E #2E772E
tetradic
#2E2E77 #772E53 #77772E #2E7753
square
#2E2E77 #772E53 #77772E #2E7753
split-complementary
#2E2E77 #77532E #53772E
monochromatic
#0C0C1F #1D1D4B #2E2E77 #3F3FA3 #5E5EC1
Accessibility & contrast
On white
11.84
#2E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E2E77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E77
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E77 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e2e77; /* rgb */ color: rgb(46, 46, 119); /* oklch */ color: oklch(34.8% 0.122 278.0);
Tailwind
colors: {
custom: {
50: '#6f669f',
500: '#2e2e77',
950: '#000000',
},
}SCSS
$custom: #2e2e77; $custom-light: #6f669f; $custom-dark: #000000;
JSON
{
"hex": "#2e2e77",
"rgb": {
"r": 46,
"g": 46,
"b": 119
},
"hsl": {
"h": 240,
"s": 44.242,
"l": 32.353
},
"oklch": {
"l": 0.34766,
"c": 0.12167,
"h": 278
},
"luminance": 0.03867
}Semantic roles & 50–950 ramp
primary
#2E2E77
secondary
#A8A859
accent
#D454D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E