#4E68D5#4E68D5
#4E68D5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.170 H 270.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4E68D5 |
|---|---|
| RGB | rgb(78, 104, 213) |
| HSL | hsl(228, 62%, 57%) |
| HSV | hsv(228, 63%, 84%) |
| CMYK | cmyk(63.4%, 51.2%, 0%, 16.5%) |
| CIE-LAB | lab(47.40, 24.63, -59.13) |
| CIE-LCH | lch(47.40, 64.05, 292.61°) |
| OKLab | oklab(55.57% 0 -0.1695) |
| OKLCH | oklch(55.57% 0.17 270) |
| XYZ | xyz(20.0984, 16.3227, 65.0293) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.03
Cornflower Blue
#5170D7
ΔE00 2.80
Azul
#1D5DEC
ΔE00 4.95
Bright Blue
#0165FC
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E68D5 #D5BB4E
analogous
#4EACD5 #4E68D5 #774ED5
triadic
#4E68D5 #D54E68 #68D54E
tetradic
#4E68D5 #D54EAC #D5BB4E #4ED577
square
#4E68D5 #D54EAC #D5BB4E #4ED577
split-complementary
#4E68D5 #D5774E #ACD54E
monochromatic
#203488 #2C47BA #4E68D5 #7F92E1 #B1BCEC
Accessibility & contrast
On white
4.92
#4E68D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4E68D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E68D5
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E68D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E68D5 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4e68d5; /* rgb */ color: rgb(78, 104, 213); /* oklch */ color: oklch(55.6% 0.170 270.0);
Tailwind
colors: {
custom: {
50: '#8d92e3',
500: '#4e68d5',
950: '#000000',
},
}SCSS
$custom: #4e68d5; $custom-light: #8d92e3; $custom-dark: #000000;
JSON
{
"hex": "#4e68d5",
"rgb": {
"r": 78,
"g": 104,
"b": 213
},
"hsl": {
"h": 228.444,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.5557,
"c": 0.16955,
"h": 270
},
"luminance": 0.16324
}Semantic roles & 50–950 ramp
primary
#4E68D5
secondary
#DBD0A4
accent
#C643E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D15
muted
#7E7D84