#4E7DCD#4E7DCD
#4E7DCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.133 H 260.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7DCD |
|---|---|
| RGB | rgb(78, 125, 205) |
| HSL | hsl(218, 56%, 55%) |
| HSV | hsv(218, 62%, 80%) |
| CMYK | cmyk(62%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(52.61, 8.87, -46.22) |
| CIE-LCH | lch(52.61, 47.07, 280.86°) |
| OKLab | oklab(59.41% -0.0222 -0.1314) |
| OKLCH | oklch(59.41% 0.133 260.4) |
| XYZ | xyz(21.4911, 20.6928, 60.6073) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.28
Clear Blue
#247AFD
ΔE00 4.77
Off Blue
#5684AE
ΔE00 4.85
Deep Sky Blue
#0D75F8
ΔE00 4.95
Cool Blue
#4984B8
ΔE00 4.96
Lightish Blue
#3D7AFD
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7DCD #CD9E4E
analogous
#4EBDCD #4E7DCD #5E4ECD
triadic
#4E7DCD #CD4E7D #7DCD4E
tetradic
#4E7DCD #CD4EBD #CD9E4E #4ECD5E
square
#4E7DCD #CD4EBD #CD9E4E #4ECD5E
split-complementary
#4E7DCD #CD5E4E #BDCD4E
monochromatic
#23457D #315FAD #4E7DCD #7EA0DA #ADC3E8
Accessibility & contrast
On white
4.09
#4E7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#4E7DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7DCD
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7DCD | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4e7dcd; /* rgb */ color: rgb(78, 125, 205); /* oklch */ color: oklch(59.4% 0.133 260.4);
Tailwind
colors: {
custom: {
50: '#8ba2dc',
500: '#4e7dcd',
950: '#000000',
},
}SCSS
$custom: #4e7dcd; $custom-light: #8ba2dc; $custom-dark: #000000;
JSON
{
"hex": "#4e7dcd",
"rgb": {
"r": 78,
"g": 125,
"b": 205
},
"hsl": {
"h": 217.795,
"s": 55.947,
"l": 55.49
},
"oklch": {
"l": 0.59414,
"c": 0.13324,
"h": 260.4
},
"luminance": 0.20695
}Semantic roles & 50–950 ramp
primary
#4E7DCD
secondary
#D6C2A1
accent
#A749DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83