#2E298E#2E298E
#2E298E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.160 H 276.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E298E |
|---|---|
| RGB | rgb(46, 41, 142) |
| HSL | hsl(243, 55%, 36%) |
| HSV | hsv(243, 71%, 56%) |
| CMYK | cmyk(67.6%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(24.06, 34.89, -55.04) |
| CIE-LCH | lch(24.06, 65.17, 302.37°) |
| OKLab | oklab(36.01% 0.0192 -0.1589) |
| OKLCH | oklch(36.01% 0.16 276.9) |
| XYZ | xyz(6.8005, 4.1191, 26.0226) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.89
Midnight Blue
#191970
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.63
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E298E #898E29
analogous
#29568E #2E298E #60298E
triadic
#2E298E #8E2E29 #298E2E
tetradic
#2E298E #8E2956 #898E29 #298E60
square
#2E298E #8E2956 #898E29 #298E60
split-complementary
#2E298E #8E6029 #568E29
monochromatic
#0F0E2F #1F1B5F #2E298E #3D37BD #6660D1
Accessibility & contrast
On white
11.51
#2E298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E298E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E298E | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e298e; /* rgb */ color: rgb(46, 41, 142); /* oklch */ color: oklch(36.0% 0.160 276.9);
Tailwind
colors: {
custom: {
50: '#7464b0',
500: '#2e298e',
950: '#000000',
},
}SCSS
$custom: #2e298e; $custom-light: #7464b0; $custom-dark: #000000;
JSON
{
"hex": "#2e298e",
"rgb": {
"r": 46,
"g": 41,
"b": 142
},
"hsl": {
"h": 242.97,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.36012,
"c": 0.16008,
"h": 276.9
},
"luminance": 0.0412
}Semantic roles & 50–950 ramp
primary
#2E298E
secondary
#B2B75C
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80