#2E2E7C#2E2E7C
#2E2E7C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.129 H 277.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E7C |
|---|---|
| RGB | rgb(46, 46, 124) |
| HSL | hsl(240, 46%, 33%) |
| HSV | hsv(240, 63%, 49%) |
| CMYK | cmyk(62.9%, 62.9%, 0%, 51.4%) |
| CIE-LAB | lab(23.64, 25.33, -44.46) |
| CIE-LCH | lch(23.64, 51.16, 299.67°) |
| OKLab | oklab(35.2% 0.0168 -0.1279) |
| OKLCH | oklch(35.2% 0.129 277.5) |
| XYZ | xyz(5.7406, 3.9896, 19.5324) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.62
Midnight Blue
#191970
ΔE00 5.90
Blueberry
#464196
ΔE00 6.69
Sapphire (survey)
#2138AB
ΔE00 7.51
Royal
#0C1793
ΔE00 7.53
Marine
#042E60
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E7C #7C7C2E
analogous
#2E557C #2E2E7C #552E7C
triadic
#2E2E7C #7C2E2E #2E7C2E
tetradic
#2E2E7C #7C2E55 #7C7C2E #2E7C55
square
#2E2E7C #7C2E55 #7C7C2E #2E7C55
split-complementary
#2E2E7C #7C552E #557C2E
monochromatic
#0D0D23 #1D1D4F #2E2E7C #3F3FA9 #6060C4
Accessibility & contrast
On white
11.68
#2E2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E2E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E7C
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E7C | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2e7c; /* rgb */ color: rgb(46, 46, 124); /* oklch */ color: oklch(35.2% 0.129 277.5);
Tailwind
colors: {
custom: {
50: '#7067a3',
500: '#2e2e7c',
950: '#000000',
},
}SCSS
$custom: #2e2e7c; $custom-light: #7067a3; $custom-dark: #000000;
JSON
{
"hex": "#2e2e7c",
"rgb": {
"r": 46,
"g": 46,
"b": 124
},
"hsl": {
"h": 240,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.352,
"c": 0.12896,
"h": 277.5
},
"luminance": 0.0399
}Semantic roles & 50–950 ramp
primary
#2E2E7C
secondary
#ABAB5B
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F