#2E298F#2E298F
#2E298F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 276.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E298F |
|---|---|
| RGB | rgb(46, 41, 143) |
| HSL | hsl(243, 55%, 36%) |
| HSV | hsv(243, 71%, 56%) |
| CMYK | cmyk(67.8%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(24.16, 35.24, -55.50) |
| CIE-LCH | lch(24.16, 65.75, 302.41°) |
| OKLab | oklab(36.11% 0.019 -0.1603) |
| OKLCH | oklch(36.11% 0.161 276.8) |
| XYZ | xyz(6.8760, 4.1493, 26.4198) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.67
Sapphire (survey)
#2138AB
ΔE00 5.80
Midnight Blue
#191970
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.67
Cobalt Blue
#030AA7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E298F #8A8F29
analogous
#29578F #2E298F #61298F
triadic
#2E298F #8F2E29 #298F2E
tetradic
#2E298F #8F2957 #8A8F29 #298F61
square
#2E298F #8F2957 #8A8F29 #298F61
split-complementary
#2E298F #8F6129 #578F29
monochromatic
#0F0E30 #1F1B5F #2E298F #3D37BF #6661D2
Accessibility & contrast
On white
11.48
#2E298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E298F
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E298F | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e298f; /* rgb */ color: rgb(46, 41, 143); /* oklch */ color: oklch(36.1% 0.161 276.8);
Tailwind
colors: {
custom: {
50: '#7464b1',
500: '#2e298f',
950: '#000000',
},
}SCSS
$custom: #2e298f; $custom-light: #7464b1; $custom-dark: #000000;
JSON
{
"hex": "#2e298f",
"rgb": {
"r": 46,
"g": 41,
"b": 143
},
"hsl": {
"h": 242.941,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.36112,
"c": 0.1614,
"h": 276.8
},
"luminance": 0.0415
}Semantic roles & 50–950 ramp
primary
#2E298F
secondary
#B3B75C
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80