#2E2997#2E2997
#2E2997 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.172 H 275.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2997 |
|---|---|
| RGB | rgb(46, 41, 151) |
| HSL | hsl(243, 57%, 38%) |
| HSV | hsv(243, 73%, 59%) |
| CMYK | cmyk(69.5%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(24.95, 37.97, -59.14) |
| CIE-LCH | lch(24.95, 70.28, 302.70°) |
| OKLab | oklab(36.92% 0.0177 -0.1709) |
| OKLCH | oklch(36.92% 0.172 275.9) |
| XYZ | xyz(7.5037, 4.4004, 29.7261) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 6.12
Royal Blue (survey)
#0504AA
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2997 #929729
analogous
#295B97 #2E2997 #652997
triadic
#2E2997 #972E29 #29972E
tetradic
#2E2997 #97295B #929729 #299765
square
#2E2997 #97295B #929729 #299765
split-complementary
#2E2997 #976529 #5B9729
monochromatic
#110F37 #1F1C67 #2E2997 #3D36C7 #6A65D5
Accessibility & contrast
On white
11.17
#2E2997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2E2997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2997
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2997 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e2997; /* rgb */ color: rgb(46, 41, 151); /* oklch */ color: oklch(36.9% 0.172 275.9);
Tailwind
colors: {
custom: {
50: '#7664b7',
500: '#2e2997',
950: '#000000',
},
}SCSS
$custom: #2e2997; $custom-light: #7664b7; $custom-dark: #000000;
JSON
{
"hex": "#2e2997",
"rgb": {
"r": 46,
"g": 41,
"b": 151
},
"hsl": {
"h": 242.727,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.36921,
"c": 0.17178,
"h": 275.9
},
"luminance": 0.04401
}Semantic roles & 50–950 ramp
primary
#2E2997
secondary
#B7BB61
accent
#E147DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80