#2E2E8C#2E2E8C
#2E2E8C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.151 H 275.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E8C |
|---|---|
| RGB | rgb(46, 46, 140) |
| HSL | hsl(240, 51%, 36%) |
| HSV | hsv(240, 67%, 55%) |
| CMYK | cmyk(67.1%, 67.1%, 0%, 45.1%) |
| CIE-LAB | lab(25.04, 31.04, -52.20) |
| CIE-LCH | lch(25.04, 60.74, 300.74°) |
| OKLab | oklab(36.66% 0.0156 -0.1506) |
| OKLCH | oklch(36.66% 0.151 275.9) |
| XYZ | xyz(6.8358, 4.4277, 25.3003) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 5.62
Blueberry
#464196
ΔE00 5.97
Royal
#0C1793
ΔE00 6.04
Midnight Blue
#191970
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E8C #8C8C2E
analogous
#2E5D8C #2E2E8C #5D2E8C
triadic
#2E2E8C #8C2E2E #2E8C2E
tetradic
#2E2E8C #8C2E5D #8C8C2E #2E8C5D
square
#2E2E8C #8C2E5D #8C8C2E #2E8C5D
split-complementary
#2E2E8C #8C5D2E #5D8C2E
monochromatic
#101030 #1F1F5E #2E2E8C #3D3DBA #6767CD
Accessibility & contrast
On white
11.14
#2E2E8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E2E8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E8C
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E8C | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e2e8c; /* rgb */ color: rgb(46, 46, 140); /* oklch */ color: oklch(36.7% 0.151 275.9);
Tailwind
colors: {
custom: {
50: '#7367ae',
500: '#2e2e8c',
950: '#000000',
},
}SCSS
$custom: #2e2e8c; $custom-light: #7367ae; $custom-dark: #000000;
JSON
{
"hex": "#2e2e8c",
"rgb": {
"r": 46,
"g": 46,
"b": 140
},
"hsl": {
"h": 240,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.3666,
"c": 0.1514,
"h": 275.9
},
"luminance": 0.04428
}Semantic roles & 50–950 ramp
primary
#2E2E8C
secondary
#B4B462
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F