#4E48C2#4E48C2
#4E48C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.184 H 279.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E48C2 |
|---|---|
| RGB | rgb(78, 72, 194) |
| HSL | hsl(243, 50%, 52%) |
| HSV | hsv(243, 63%, 76%) |
| CMYK | cmyk(59.8%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(38.11, 38.14, -63.23) |
| CIE-LCH | lch(38.11, 73.84, 301.10°) |
| OKLab | oklab(48.22% 0.0292 -0.1819) |
| OKLCH | oklch(48.22% 0.184 279.1) |
| XYZ | xyz(15.1938, 10.1484, 52.1867) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.52
Blue With A Hint Of Purple
#533CC6
ΔE00 3.41
Bluey Purple
#6241C7
ΔE00 3.91
Blurple
#5539CC
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.60
Iris
#6258C4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E48C2 #BCC248
analogous
#487FC2 #4E48C2 #8B48C2
triadic
#4E48C2 #C24E48 #48C24E
tetradic
#4E48C2 #C2487F #BCC248 #48C28B
square
#4E48C2 #C2487F #BCC248 #48C28B
split-complementary
#4E48C2 #C28B48 #7FC248
monochromatic
#27246C #38339A #4E48C2 #7A76D1 #A7A4E1
Accessibility & contrast
On white
6.93
#4E48C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#4E48C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E48C2
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E48C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E48C2 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e48c2; /* rgb */ color: rgb(78, 72, 194); /* oklch */ color: oklch(48.2% 0.184 279.1);
Tailwind
colors: {
custom: {
50: '#8b7bd5',
500: '#4e48c2',
950: '#000000',
},
}SCSS
$custom: #4e48c2; $custom-light: #8b7bd5; $custom-dark: #000000;
JSON
{
"hex": "#4e48c2",
"rgb": {
"r": 78,
"g": 72,
"b": 194
},
"hsl": {
"h": 242.951,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.48222,
"c": 0.18425,
"h": 279.1
},
"luminance": 0.10149
}Semantic roles & 50–950 ramp
primary
#4E48C2
secondary
#CBCE98
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83