#4E498A#4E498A
#4E498A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.104 H 284.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4E498A |
|---|---|
| RGB | rgb(78, 73, 138) |
| HSL | hsl(245, 31%, 41%) |
| HSV | hsv(245, 47%, 54%) |
| CMYK | cmyk(43.5%, 47.1%, 0%, 45.9%) |
| CIE-LAB | lab(34.44, 19.51, -35.66) |
| CIE-LCH | lch(34.44, 40.65, 298.69°) |
| OKLab | oklab(44.25% 0.0266 -0.1009) |
| OKLCH | oklch(44.25% 0.104 284.8) |
| XYZ | xyz(10.1106, 8.2194, 25.0936) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.95
Darkslateblue
#483D8B
ΔE00 4.04
Blueberry
#464196
ΔE00 4.16
Dusk
#4E5481
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 8.03
Cobalt (survey)
#1E488F
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E498A #858A49
analogous
#49658A #4E498A #6F498A
triadic
#4E498A #8A4E49 #498A4E
tetradic
#4E498A #8A4965 #858A49 #498A6F
square
#4E498A #8A4965 #858A49 #498A6F
split-complementary
#4E498A #8A6F49 #658A49
monochromatic
#211F3A #373462 #4E498A #6963AD #908BC2
Accessibility & contrast
On white
7.94
#4E498A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4E498A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E498A
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E498A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E498A | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#3C5663
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e498a; /* rgb */ color: rgb(78, 73, 138); /* oklch */ color: oklch(44.2% 0.104 284.8);
Tailwind
colors: {
custom: {
50: '#837bac',
500: '#4e498a',
950: '#000000',
},
}SCSS
$custom: #4e498a; $custom-light: #837bac; $custom-dark: #000000;
JSON
{
"hex": "#4e498a",
"rgb": {
"r": 78,
"g": 73,
"b": 138
},
"hsl": {
"h": 244.615,
"s": 30.806,
"l": 41.373
},
"oklch": {
"l": 0.44249,
"c": 0.10436,
"h": 284.8
},
"luminance": 0.0822
}Semantic roles & 50–950 ramp
primary
#4E498A
secondary
#AAAE81
accent
#C761BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F