#2E259F#2E259F
#2E259F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.186 H 275.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E259F |
|---|---|
| RGB | rgb(46, 37, 159) |
| HSL | hsl(244, 62%, 38%) |
| HSV | hsv(244, 77%, 62%) |
| CMYK | cmyk(71.1%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(24.97, 42.92, -64.00) |
| CIE-LCH | lch(24.97, 77.06, 303.85°) |
| OKLab | oklab(37.18% 0.0184 -0.185) |
| OKLCH | oklch(37.18% 0.186 275.7) |
| XYZ | xyz(8.0442, 4.4064, 33.2208) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.67
Royal
#0C1793
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 4.92
Ultramarine
#2000B1
ΔE00 5.36
Royal Blue (survey)
#0504AA
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E259F #969F25
analogous
#25599F #2E259F #6B259F
triadic
#2E259F #9F2E25 #259F2E
tetradic
#2E259F #9F2559 #969F25 #259F6B
square
#2E259F #9F2559 #969F25 #259F6B
split-complementary
#2E259F #9F6B25 #599F25
monochromatic
#110E3C #20196D #2E259F #3E32CF #6C64DB
Accessibility & contrast
On white
11.16
#2E259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2E259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E259F
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E259F | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e259f; /* rgb */ color: rgb(46, 37, 159); /* oklch */ color: oklch(37.2% 0.186 275.7);
Tailwind
colors: {
custom: {
50: '#7862bd',
500: '#2e259f',
950: '#000000',
},
}SCSS
$custom: #2e259f; $custom-light: #7862bd; $custom-dark: #000000;
JSON
{
"hex": "#2e259f",
"rgb": {
"r": 46,
"g": 37,
"b": 159
},
"hsl": {
"h": 244.426,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.37184,
"c": 0.18594,
"h": 275.7
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#2E259F
secondary
#B9C05F
accent
#E542D9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981