#4C81E4#4C81E4
#4C81E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.160 H 261.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #4C81E4 |
|---|---|
| RGB | rgb(76, 129, 228) |
| HSL | hsl(219, 74%, 60%) |
| HSV | hsv(219, 67%, 89%) |
| CMYK | cmyk(66.7%, 43.4%, 0%, 10.6%) |
| CIE-LAB | lab(54.90, 14.01, -55.54) |
| CIE-LCH | lch(54.90, 57.28, 284.16°) |
| OKLab | oklab(61.58% -0.0232 -0.1587) |
| OKLCH | oklch(61.58% 0.16 261.7) |
| XYZ | xyz(24.8294, 22.8360, 76.4830) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.42
Clear Blue
#247AFD
ΔE00 3.36
Lightish Blue
#3D7AFD
ΔE00 3.37
Azure
#007FFF
ΔE00 3.61
Soft Blue
#6488EA
ΔE00 3.86
Deep Sky Blue
#0D75F8
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C81E4 #E4AF4C
analogous
#4CCDE4 #4C81E4 #634CE4
triadic
#4C81E4 #E44C81 #81E44C
tetradic
#4C81E4 #E44CCD #E4AF4C #4CE463
square
#4C81E4 #E44CCD #E4AF4C #4CE463
split-complementary
#4C81E4 #E4634C #CDE44C
monochromatic
#18479E #205ED3 #4C81E4 #81A6EC #B6CCF4
Accessibility & contrast
On white
3.77
#4C81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#4C81E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C81E4
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C81E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C81E4 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4c81e4; /* rgb */ color: rgb(76, 129, 228); /* oklch */ color: oklch(61.6% 0.160 261.7);
Tailwind
colors: {
custom: {
50: '#8da5ed',
500: '#4c81e4',
950: '#000000',
},
}SCSS
$custom: #4c81e4; $custom-light: #8da5ed; $custom-dark: #000000;
JSON
{
"hex": "#4c81e4",
"rgb": {
"r": 76,
"g": 129,
"b": 228
},
"hsl": {
"h": 219.079,
"s": 73.786,
"l": 59.608
},
"oklch": {
"l": 0.61575,
"c": 0.16038,
"h": 261.7
},
"luminance": 0.22838
}Semantic roles & 50–950 ramp
primary
#4C81E4
secondary
#E3CFA8
accent
#B037F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84