#4E5FDC#4E5FDC
#4E5FDC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.190 H 272.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FDC |
|---|---|
| RGB | rgb(78, 95, 220) |
| HSL | hsl(233, 67%, 58%) |
| HSV | hsv(233, 65%, 86%) |
| CMYK | cmyk(64.5%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(45.59, 32.64, -66.03) |
| CIE-LCH | lch(45.59, 73.66, 296.31°) |
| OKLab | oklab(54.37% 0.0084 -0.19) |
| OKLCH | oklch(54.37% 0.19 272.5) |
| XYZ | xyz(20.1480, 14.9696, 69.5239) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Azul
#1D5DEC
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.01
Royal Blue
#4169E1
ΔE00 4.16
Iris
#6258C4
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FDC #DCCB4E
analogous
#4EA6DC #4E5FDC #844EDC
triadic
#4E5FDC #DC4E5F #5FDC4E
tetradic
#4E5FDC #DC4EA6 #DCCB4E #4EDC84
square
#4E5FDC #DC4EA6 #DCCB4E #4EDC84
split-complementary
#4E5FDC #DC844E #A6DC4E
monochromatic
#1D2B93 #273AC6 #4E5FDC #818DE6 #B4BBF0
Accessibility & contrast
On white
5.26
#4E5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#4E5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FDC
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FDC | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e5fdc; /* rgb */ color: rgb(78, 95, 220); /* oklch */ color: oklch(54.4% 0.190 272.5);
Tailwind
colors: {
custom: {
50: '#8e8ce8',
500: '#4e5fdc',
950: '#000000',
},
}SCSS
$custom: #4e5fdc; $custom-light: #8e8ce8; $custom-dark: #000000;
JSON
{
"hex": "#4e5fdc",
"rgb": {
"r": 78,
"g": 95,
"b": 220
},
"hsl": {
"h": 232.817,
"s": 66.981,
"l": 58.431
},
"oklch": {
"l": 0.54371,
"c": 0.19015,
"h": 272.5
},
"luminance": 0.14971
}Semantic roles & 50–950 ramp
primary
#4E5FDC
secondary
#DFD8A7
accent
#D53EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84