#2E296F#2E296F
#2E296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.117 H 281.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E296F |
|---|---|
| RGB | rgb(46, 41, 111) |
| HSL | hsl(244, 46%, 30%) |
| HSV | hsv(244, 63%, 44%) |
| CMYK | cmyk(58.6%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.26, 24.06, -40.01) |
| CIE-LCH | lch(21.26, 46.69, 301.01°) |
| OKLab | oklab(33.11% 0.0225 -0.1148) |
| OKLCH | oklch(33.11% 0.117 281.1) |
| XYZ | xyz(4.7880, 3.3141, 15.4232) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 7.12
Marine
#042E60
ΔE00 8.30
Royal
#0C1793
ΔE00 8.30
Dark Indigo
#1F0954
ΔE00 8.53
Blueberry
#464196
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E296F #6A6F29
analogous
#29476F #2E296F #51296F
triadic
#2E296F #6F2E29 #296F2E
tetradic
#2E296F #6F2947 #6A6F29 #296F51
square
#2E296F #6F2947 #6A6F29 #296F51
split-complementary
#2E296F #6F5129 #476F29
monochromatic
#090816 #1B1842 #2E296F #413A9C #5B53BF
Accessibility & contrast
On white
12.63
#2E296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2E296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E296F
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E296F | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#0D3A47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e296f; /* rgb */ color: rgb(46, 41, 111); /* oklch */ color: oklch(33.1% 0.117 281.1);
Tailwind
colors: {
custom: {
50: '#6e6399',
500: '#2e296f',
950: '#000000',
},
}SCSS
$custom: #2e296f; $custom-light: #6e6399; $custom-dark: #000000;
JSON
{
"hex": "#2e296f",
"rgb": {
"r": 46,
"g": 41,
"b": 111
},
"hsl": {
"h": 244.286,
"s": 46.053,
"l": 29.804
},
"oklch": {
"l": 0.33111,
"c": 0.11702,
"h": 281.1
},
"luminance": 0.03314
}Semantic roles & 50–950 ramp
primary
#2E296F
secondary
#9CA153
accent
#D652CC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E