#4C81E3#4C81E3
#4C81E3 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.159 H 261.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4C81E3 |
|---|---|
| RGB | rgb(76, 129, 227) |
| HSL | hsl(219, 73%, 59%) |
| HSV | hsv(219, 67%, 89%) |
| CMYK | cmyk(66.5%, 43.2%, 0%, 11%) |
| CIE-LAB | lab(54.85, 13.66, -55.07) |
| CIE-LCH | lch(54.85, 56.74, 283.94°) |
| OKLab | oklab(61.51% -0.0234 -0.1573) |
| OKLCH | oklch(61.51% 0.159 261.5) |
| XYZ | xyz(24.6910, 22.7806, 75.7540) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.51
Clear Blue
#247AFD
ΔE00 3.41
Lightish Blue
#3D7AFD
ΔE00 3.45
Azure
#007FFF
ΔE00 3.63
Soft Blue
#6488EA
ΔE00 3.92
Deep Sky Blue
#0D75F8
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C81E3 #E3AE4C
analogous
#4CCDE3 #4C81E3 #624CE3
triadic
#4C81E3 #E34C81 #81E34C
tetradic
#4C81E3 #E34CCD #E3AE4C #4CE362
square
#4C81E3 #E34CCD #E3AE4C #4CE362
split-complementary
#4C81E3 #E3624C #CDE34C
monochromatic
#18479C #215FD1 #4C81E3 #81A6EB #B6CCF4
Accessibility & contrast
On white
3.78
#4C81E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#4C81E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C81E3
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C81E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C81E3 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4c81e3; /* rgb */ color: rgb(76, 129, 227); /* oklch */ color: oklch(61.5% 0.159 261.5);
Tailwind
colors: {
custom: {
50: '#8da5ec',
500: '#4c81e3',
950: '#000000',
},
}SCSS
$custom: #4c81e3; $custom-light: #8da5ec; $custom-dark: #000000;
JSON
{
"hex": "#4c81e3",
"rgb": {
"r": 76,
"g": 129,
"b": 227
},
"hsl": {
"h": 218.94,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.61512,
"c": 0.15905,
"h": 261.5
},
"luminance": 0.22783
}Semantic roles & 50–950 ramp
primary
#4C81E3
secondary
#E3CEA8
accent
#AF38F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84