#4E81D4#4E81D4
#4E81D4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.138 H 259.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4E81D4 |
|---|---|
| RGB | rgb(78, 129, 212) |
| HSL | hsl(217, 61%, 57%) |
| HSV | hsv(217, 63%, 83%) |
| CMYK | cmyk(63.2%, 39.2%, 0%, 16.9%) |
| CIE-LAB | lab(54.10, 8.83, -47.82) |
| CIE-LCH | lch(54.10, 48.63, 280.46°) |
| OKLab | oklab(60.69% -0.0248 -0.136) |
| OKLCH | oklch(60.69% 0.138 259.7) |
| XYZ | xyz(22.8716, 22.0715, 65.3295) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.95
Azure
#007FFF
ΔE00 4.37
Clear Blue
#247AFD
ΔE00 4.39
Cool Blue
#4984B8
ΔE00 4.66
Lightish Blue
#3D7AFD
ΔE00 4.71
Off Blue
#5684AE
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E81D4 #D4A14E
analogous
#4EC4D4 #4E81D4 #5E4ED4
triadic
#4E81D4 #D44E81 #81D44E
tetradic
#4E81D4 #D44EC4 #D4A14E #4ED45E
square
#4E81D4 #D44EC4 #D4A14E #4ED45E
split-complementary
#4E81D4 #D45E4E #C4D44E
monochromatic
#214887 #2D62B8 #4E81D4 #7FA4E0 #B0C7EC
Accessibility & contrast
On white
3.88
#4E81D4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#4E81D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E81D4
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E81D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E81D4 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#497CD2
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4e81d4; /* rgb */ color: rgb(78, 129, 212); /* oklch */ color: oklch(60.7% 0.138 259.7);
Tailwind
colors: {
custom: {
50: '#8ca5e1',
500: '#4e81d4',
950: '#000000',
},
}SCSS
$custom: #4e81d4; $custom-light: #8ca5e1; $custom-dark: #000000;
JSON
{
"hex": "#4e81d4",
"rgb": {
"r": 78,
"g": 129,
"b": 212
},
"hsl": {
"h": 217.164,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.60692,
"c": 0.13824,
"h": 259.7
},
"luminance": 0.22074
}Semantic roles & 50–950 ramp
primary
#4E81D4
secondary
#DAC5A4
accent
#A744E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83