#2E259E#2E259E
#2E259E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.185 H 275.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E259E |
|---|---|
| RGB | rgb(46, 37, 158) |
| HSL | hsl(244, 62%, 38%) |
| HSV | hsv(244, 77%, 62%) |
| CMYK | cmyk(70.9%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(24.86, 42.60, -63.57) |
| CIE-LCH | lch(24.86, 76.52, 303.83°) |
| OKLab | oklab(37.08% 0.0186 -0.1838) |
| OKLCH | oklch(37.08% 0.185 275.8) |
| XYZ | xyz(7.9578, 4.3719, 32.7656) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Royal
#0C1793
ΔE00 4.06
Cobalt Blue
#030AA7
ΔE00 4.95
Royal Blue (survey)
#0504AA
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E259E #959E25
analogous
#25589E #2E259E #6A259E
triadic
#2E259E #9E2E25 #259E2E
tetradic
#2E259E #9E2558 #959E25 #259E6A
square
#2E259E #9E2558 #959E25 #259E6A
split-complementary
#2E259E #9E6A25 #589E25
monochromatic
#110E3B #20196C #2E259E #3D31CF #6C63DA
Accessibility & contrast
On white
11.20
#2E259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2E259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E259E
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E259E | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e259e; /* rgb */ color: rgb(46, 37, 158); /* oklch */ color: oklch(37.1% 0.185 275.8);
Tailwind
colors: {
custom: {
50: '#7862bc',
500: '#2e259e',
950: '#000000',
},
}SCSS
$custom: #2e259e; $custom-light: #7862bc; $custom-dark: #000000;
JSON
{
"hex": "#2e259e",
"rgb": {
"r": 46,
"g": 37,
"b": 158
},
"hsl": {
"h": 244.463,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.37076,
"c": 0.18471,
"h": 275.8
},
"luminance": 0.04373
}Semantic roles & 50–950 ramp
primary
#2E259E
secondary
#B9C05F
accent
#E543D9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981