#2E2E79#2E2E79
#2E2E79 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.125 H 277.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E79 |
|---|---|
| RGB | rgb(46, 46, 121) |
| HSL | hsl(240, 45%, 33%) |
| HSV | hsv(240, 62%, 47%) |
| CMYK | cmyk(62%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(23.39, 24.25, -42.96) |
| CIE-LCH | lch(23.39, 49.33, 299.44°) |
| OKLab | oklab(34.94% 0.0169 -0.1234) |
| OKLCH | oklch(34.94% 0.125 277.8) |
| XYZ | xyz(5.5538, 3.9149, 18.5484) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.76
Midnight Blue
#191970
ΔE00 5.93
Blueberry
#464196
ΔE00 6.93
Marine
#042E60
ΔE00 7.87
Royal
#0C1793
ΔE00 7.91
Sapphire (survey)
#2138AB
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E79 #79792E
analogous
#2E5379 #2E2E79 #532E79
triadic
#2E2E79 #792E2E #2E792E
tetradic
#2E2E79 #792E53 #79792E #2E7953
square
#2E2E79 #792E53 #79792E #2E7953
split-complementary
#2E2E79 #79532E #53792E
monochromatic
#0C0C20 #1D1D4D #2E2E79 #3F3FA5 #5F5FC2
Accessibility & contrast
On white
11.78
#2E2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E2E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E79
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E79 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2e79; /* rgb */ color: rgb(46, 46, 121); /* oklch */ color: oklch(34.9% 0.125 277.8);
Tailwind
colors: {
custom: {
50: '#6f67a0',
500: '#2e2e79',
950: '#000000',
},
}SCSS
$custom: #2e2e79; $custom-light: #6f67a0; $custom-dark: #000000;
JSON
{
"hex": "#2e2e79",
"rgb": {
"r": 46,
"g": 46,
"b": 121
},
"hsl": {
"h": 240,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.34938,
"c": 0.1246,
"h": 277.8
},
"luminance": 0.03915
}Semantic roles & 50–950 ramp
primary
#2E2E79
secondary
#A9A95A
accent
#D553D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E