#4E4B98#4E4B98
#4E4B98 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.122 H 282.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4B98 |
|---|---|
| RGB | rgb(78, 75, 152) |
| HSL | hsl(242, 34%, 45%) |
| HSV | hsv(242, 51%, 60%) |
| CMYK | cmyk(48.7%, 50.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.83, 22.64, -41.97) |
| CIE-LCH | lch(35.83, 47.68, 298.35°) |
| OKLab | oklab(45.58% 0.0257 -0.1194) |
| OKLCH | oklch(45.58% 0.122 282.2) |
| XYZ | xyz(11.3238, 8.9183, 30.8244) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.19
Twilight
#4E518B
ΔE00 3.72
Darkslateblue
#483D8B
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.82
Dusk
#4E5481
ΔE00 6.39
Iris
#6258C4
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4B98 #95984B
analogous
#4B6F98 #4E4B98 #754B98
triadic
#4E4B98 #984E4B #4B984E
tetradic
#4E4B98 #984B6F #95984B #4B9875
square
#4E4B98 #984B6F #95984B #4B9875
split-complementary
#4E4B98 #98754B #6F984B
monochromatic
#242346 #39376F #4E4B98 #6D6AB6 #9693CA
Accessibility & contrast
On white
7.54
#4E4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#4E4B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4B98
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4B98 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#235296
Tritanopia (blue-blind)
#345C6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e4b98; /* rgb */ color: rgb(78, 75, 152); /* oklch */ color: oklch(45.6% 0.122 282.2);
Tailwind
colors: {
custom: {
50: '#857db7',
500: '#4e4b98',
950: '#000000',
},
}SCSS
$custom: #4e4b98; $custom-light: #857db7; $custom-dark: #000000;
JSON
{
"hex": "#4e4b98",
"rgb": {
"r": 78,
"g": 75,
"b": 152
},
"hsl": {
"h": 242.338,
"s": 33.921,
"l": 44.51
},
"oklch": {
"l": 0.45576,
"c": 0.12212,
"h": 282.2
},
"luminance": 0.08919
}Semantic roles & 50–950 ramp
primary
#4E4B98
secondary
#B4B689
accent
#CA5EC6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80