#4E51D3#4E51D3
#4E51D3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.195 H 276.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4E51D3 |
|---|---|
| RGB | rgb(78, 81, 211) |
| HSL | hsl(239, 60%, 57%) |
| HSV | hsv(239, 63%, 83%) |
| CMYK | cmyk(63%, 61.6%, 0%, 17.3%) |
| CIE-LAB | lab(41.54, 38.24, -67.47) |
| CIE-LCH | lch(41.54, 77.56, 299.54°) |
| OKLab | oklab(51.16% 0.0204 -0.1943) |
| OKLCH | oklch(51.16% 0.195 276) |
| XYZ | xyz(17.8383, 12.2062, 63.0314) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Iris
#6258C4
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E51D3 #D3D04E
analogous
#4E93D3 #4E51D3 #8E4ED3
triadic
#4E51D3 #D34E51 #51D34E
tetradic
#4E51D3 #D34E93 #D3D04E #4ED38E
square
#4E51D3 #D34E93 #D3D04E #4ED38E
split-complementary
#4E51D3 #D38E4E #93D34E
monochromatic
#212385 #2D30B6 #4E51D3 #7F81DF #B0B1EB
Accessibility & contrast
On white
6.10
#4E51D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#4E51D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E51D3
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E51D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E51D3 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4e51d3; /* rgb */ color: rgb(78, 81, 211); /* oklch */ color: oklch(51.2% 0.195 276.0);
Tailwind
colors: {
custom: {
50: '#8e82e1',
500: '#4e51d3',
950: '#000000',
},
}SCSS
$custom: #4e51d3; $custom-light: #8e82e1; $custom-dark: #000000;
JSON
{
"hex": "#4e51d3",
"rgb": {
"r": 78,
"g": 81,
"b": 211
},
"hsl": {
"h": 238.647,
"s": 60.181,
"l": 56.667
},
"oklch": {
"l": 0.5116,
"c": 0.19541,
"h": 276
},
"luminance": 0.12208
}Semantic roles & 50–950 ramp
primary
#4E51D3
secondary
#DAD8A3
accent
#E044E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83