#2E258F#2E258F
#2E258F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.166 H 277.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E258F |
|---|---|
| RGB | rgb(46, 37, 143) |
| HSL | hsl(245, 59%, 35%) |
| HSV | hsv(245, 74%, 56%) |
| CMYK | cmyk(67.8%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(23.29, 37.64, -56.93) |
| CIE-LCH | lch(23.29, 68.24, 303.47°) |
| OKLab | oklab(35.49% 0.0218 -0.1644) |
| OKLCH | oklch(35.49% 0.166 277.6) |
| XYZ | xyz(6.7446, 3.8866, 26.3760) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 5.60
Midnight Blue
#191970
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 6.42
Indigo (survey)
#380282
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E258F #868F25
analogous
#25518F #2E258F #63258F
triadic
#2E258F #8F2E25 #258F2E
tetradic
#2E258F #8F2551 #868F25 #258F63
square
#2E258F #8F2551 #868F25 #258F63
split-complementary
#2E258F #8F6325 #518F25
monochromatic
#0F0C2E #1E185E #2E258F #3E32C0 #645AD4
Accessibility & contrast
On white
11.82
#2E258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E258F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E258F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e258f; /* rgb */ color: rgb(46, 37, 143); /* oklch */ color: oklch(35.5% 0.166 277.6);
Tailwind
colors: {
custom: {
50: '#7561b1',
500: '#2e258f',
950: '#000000',
},
}SCSS
$custom: #2e258f; $custom-light: #7561b1; $custom-dark: #000000;
JSON
{
"hex": "#2e258f",
"rgb": {
"r": 46,
"g": 37,
"b": 143
},
"hsl": {
"h": 245.094,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.35493,
"c": 0.16585,
"h": 277.6
},
"luminance": 0.03887
}Semantic roles & 50–950 ramp
primary
#2E258F
secondary
#B1B957
accent
#E246D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980