#2E249E#2E249E
#2E249E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.186 H 275.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E249E |
|---|---|
| RGB | rgb(46, 36, 158) |
| HSL | hsl(245, 63%, 38%) |
| HSV | hsv(245, 77%, 62%) |
| CMYK | cmyk(70.9%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(24.67, 43.14, -63.89) |
| CIE-LCH | lch(24.67, 77.09, 304.03°) |
| OKLab | oklab(36.94% 0.0191 -0.1847) |
| OKLCH | oklch(36.94% 0.186 275.9) |
| XYZ | xyz(7.9271, 4.3105, 32.7554) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.63
Royal
#0C1793
ΔE00 3.92
Cobalt Blue
#030AA7
ΔE00 4.75
Royal Blue (survey)
#0504AA
ΔE00 5.21
Ultramarine
#2000B1
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E249E #949E24
analogous
#24579E #2E249E #6B249E
triadic
#2E249E #9E2E24 #249E2E
tetradic
#2E249E #9E2457 #949E24 #249E6B
square
#2E249E #9E2457 #949E24 #249E6B
split-complementary
#2E249E #9E6B24 #579E24
monochromatic
#110D3A #1F196C #2E249E #3D2FD0 #6B61DB
Accessibility & contrast
On white
11.28
#2E249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2E249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E249E
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E249E | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e249e; /* rgb */ color: rgb(46, 36, 158); /* oklch */ color: oklch(36.9% 0.186 275.9);
Tailwind
colors: {
custom: {
50: '#7861bc',
500: '#2e249e',
950: '#000000',
},
}SCSS
$custom: #2e249e; $custom-light: #7861bc; $custom-dark: #000000;
JSON
{
"hex": "#2e249e",
"rgb": {
"r": 46,
"g": 36,
"b": 158
},
"hsl": {
"h": 244.918,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.36941,
"c": 0.18567,
"h": 275.9
},
"luminance": 0.04311
}Semantic roles & 50–950 ramp
primary
#2E249E
secondary
#B8C05E
accent
#E642D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981