#2E2972#2E2972
#2E2972 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.121 H 280.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2972 |
|---|---|
| RGB | rgb(46, 41, 114) |
| HSL | hsl(244, 47%, 30%) |
| HSV | hsv(244, 64%, 45%) |
| CMYK | cmyk(59.6%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(21.51, 25.11, -41.54) |
| CIE-LCH | lch(21.51, 48.54, 301.16°) |
| OKLab | oklab(33.37% 0.0224 -0.1193) |
| OKLCH | oklch(33.37% 0.121 280.6) |
| XYZ | xyz(4.9560, 3.3813, 16.3078) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.80
Darkslateblue
#483D8B
ΔE00 6.91
Royal
#0C1793
ΔE00 7.80
Blueberry
#464196
ΔE00 8.39
Marine
#042E60
ΔE00 8.44
Dark Indigo
#1F0954
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2972 #6D7229
analogous
#294872 #2E2972 #532972
triadic
#2E2972 #722E29 #29722E
tetradic
#2E2972 #722948 #6D7229 #297253
square
#2E2972 #722948 #6D7229 #297253
split-complementary
#2E2972 #725329 #487229
monochromatic
#0A0918 #1C1945 #2E2972 #40399F #5B54C1
Accessibility & contrast
On white
12.53
#2E2972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2972
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2972 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#083B49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2972; /* rgb */ color: rgb(46, 41, 114); /* oklch */ color: oklch(33.4% 0.121 280.6);
Tailwind
colors: {
custom: {
50: '#6e639b',
500: '#2e2972',
950: '#000000',
},
}SCSS
$custom: #2e2972; $custom-light: #6e639b; $custom-dark: #000000;
JSON
{
"hex": "#2e2972",
"rgb": {
"r": 46,
"g": 41,
"b": 114
},
"hsl": {
"h": 244.11,
"s": 47.097,
"l": 30.392
},
"oklch": {
"l": 0.33373,
"c": 0.12139,
"h": 280.6
},
"luminance": 0.03382
}Semantic roles & 50–950 ramp
primary
#2E2972
secondary
#9FA453
accent
#D751CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E