#4E52D4#4E52D4
#4E52D4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.196 H 275.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52D4 |
|---|---|
| RGB | rgb(78, 82, 212) |
| HSL | hsl(238, 61%, 57%) |
| HSV | hsv(238, 63%, 83%) |
| CMYK | cmyk(63.2%, 61.3%, 0%, 16.9%) |
| CIE-LAB | lab(41.85, 37.97, -67.54) |
| CIE-LCH | lch(41.85, 77.48, 299.34°) |
| OKLab | oklab(51.41% 0.0196 -0.1945) |
| OKLCH | oklch(51.41% 0.196 275.7) |
| XYZ | xyz(18.0390, 12.4063, 63.7186) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.87
Iris
#6258C4
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.28
Electric Blue
#0652FF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52D4 #D4D04E
analogous
#4E95D4 #4E52D4 #8D4ED4
triadic
#4E52D4 #D44E52 #52D44E
tetradic
#4E52D4 #D44E95 #D4D04E #4ED48D
square
#4E52D4 #D44E95 #D4D04E #4ED48D
split-complementary
#4E52D4 #D48D4E #95D44E
monochromatic
#212487 #2D31B8 #4E52D4 #7F82E0 #B0B2EC
Accessibility & contrast
On white
6.03
#4E52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4E52D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52D4
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52D4 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4e52d4; /* rgb */ color: rgb(78, 82, 212); /* oklch */ color: oklch(51.4% 0.196 275.7);
Tailwind
colors: {
custom: {
50: '#8e83e2',
500: '#4e52d4',
950: '#000000',
},
}SCSS
$custom: #4e52d4; $custom-light: #8e83e2; $custom-dark: #000000;
JSON
{
"hex": "#4e52d4",
"rgb": {
"r": 78,
"g": 82,
"b": 212
},
"hsl": {
"h": 238.209,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.51414,
"c": 0.1955,
"h": 275.7
},
"luminance": 0.12408
}Semantic roles & 50–950 ramp
primary
#4E52D4
secondary
#DAD9A4
accent
#DF44E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84