#4E6CE4#4E6CE4
#4E6CE4 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.185 H 269.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4E6CE4 |
|---|---|
| RGB | rgb(78, 108, 228) |
| HSL | hsl(228, 74%, 60%) |
| HSV | hsv(228, 66%, 89%) |
| CMYK | cmyk(65.8%, 52.6%, 0%, 10.6%) |
| CIE-LAB | lab(49.43, 27.30, -64.34) |
| CIE-LCH | lch(49.43, 69.89, 292.99°) |
| OKLab | oklab(57.42% -0.0024 -0.1848) |
| OKLCH | oklch(57.42% 0.185 269.2) |
| XYZ | xyz(22.5033, 17.9442, 75.6614) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.89
Cornflower Blue
#5170D7
ΔE00 2.11
Bright Blue
#0165FC
ΔE00 4.41
Cerulean Blue
#056EEE
ΔE00 5.09
Azul
#1D5DEC
ΔE00 5.60
Lightish Blue
#3D7AFD
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E6CE4 #E4C64E
analogous
#4EB7E4 #4E6CE4 #7B4EE4
triadic
#4E6CE4 #E44E6C #6CE44E
tetradic
#4E6CE4 #E44EB7 #E4C64E #4EE47B
square
#4E6CE4 #E44EB7 #E4C64E #4EE47B
split-complementary
#4E6CE4 #E47B4E #B7E44E
monochromatic
#18339F #2044D4 #4E6CE4 #8398EC #B8C4F4
Accessibility & contrast
On white
4.58
#4E6CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#4E6CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E6CE4
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E6CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E6CE4 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A7DE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #4e6ce4; /* rgb */ color: rgb(78, 108, 228); /* oklch */ color: oklch(57.4% 0.185 269.2);
Tailwind
colors: {
custom: {
50: '#8f95ed',
500: '#4e6ce4',
950: '#000000',
},
}SCSS
$custom: #4e6ce4; $custom-light: #8f95ed; $custom-dark: #000000;
JSON
{
"hex": "#4e6ce4",
"rgb": {
"r": 78,
"g": 108,
"b": 228
},
"hsl": {
"h": 228,
"s": 73.529,
"l": 60
},
"oklch": {
"l": 0.57424,
"c": 0.18486,
"h": 269.2
},
"luminance": 0.17946
}Semantic roles & 50–950 ramp
primary
#4E6CE4
secondary
#E4D8AA
accent
#CB38F0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84