#4E68D7#4E68D7
#4E68D7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.172 H 270.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E68D7 |
|---|---|
| RGB | rgb(78, 104, 215) |
| HSL | hsl(229, 63%, 57%) |
| HSV | hsv(229, 64%, 84%) |
| CMYK | cmyk(63.7%, 51.6%, 0%, 15.7%) |
| CIE-LAB | lab(47.53, 25.32, -60.05) |
| CIE-LCH | lch(47.53, 65.17, 292.86°) |
| OKLab | oklab(55.71% 0.0001 -0.1723) |
| OKLCH | oklch(55.71% 0.172 270) |
| XYZ | xyz(20.3538, 16.4248, 66.3745) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.90
Cornflower Blue
#5170D7
ΔE00 2.78
Azul
#1D5DEC
ΔE00 4.87
Bright Blue
#0165FC
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E68D7 #D7BD4E
analogous
#4EADD7 #4E68D7 #784ED7
triadic
#4E68D7 #D74E68 #68D74E
tetradic
#4E68D7 #D74EAD #D7BD4E #4ED778
square
#4E68D7 #D74EAD #D7BD4E #4ED778
split-complementary
#4E68D7 #D7784E #ADD74E
monochromatic
#1F348B #2B47BD #4E68D7 #8093E2 #B2BDEE
Accessibility & contrast
On white
4.90
#4E68D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4E68D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E68D7
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E68D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E68D7 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2577DB
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4e68d7; /* rgb */ color: rgb(78, 104, 215); /* oklch */ color: oklch(55.7% 0.172 270.0);
Tailwind
colors: {
custom: {
50: '#8d92e4',
500: '#4e68d7',
950: '#000000',
},
}SCSS
$custom: #4e68d7; $custom-light: #8d92e4; $custom-dark: #000000;
JSON
{
"hex": "#4e68d7",
"rgb": {
"r": 78,
"g": 104,
"b": 215
},
"hsl": {
"h": 228.613,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.55712,
"c": 0.17227,
"h": 270
},
"luminance": 0.16427
}Semantic roles & 50–950 ramp
primary
#4E68D7
secondary
#DCD2A5
accent
#C742E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0D16
muted
#7E7D84