#4C81E2#4C81E2
#4C81E2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.158 H 261.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4C81E2 |
|---|---|
| RGB | rgb(76, 129, 226) |
| HSL | hsl(219, 72%, 59%) |
| HSV | hsv(219, 66%, 89%) |
| CMYK | cmyk(66.4%, 42.9%, 0%, 11.4%) |
| CIE-LAB | lab(54.79, 13.32, -54.60) |
| CIE-LCH | lch(54.79, 56.20, 283.71°) |
| OKLab | oklab(61.45% -0.0236 -0.1559) |
| OKLCH | oklch(61.45% 0.158 261.4) |
| XYZ | xyz(24.5533, 22.7256, 75.0293) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.60
Clear Blue
#247AFD
ΔE00 3.46
Lightish Blue
#3D7AFD
ΔE00 3.53
Azure
#007FFF
ΔE00 3.65
Soft Blue
#6488EA
ΔE00 3.99
Deep Sky Blue
#0D75F8
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C81E2 #E2AD4C
analogous
#4CCCE2 #4C81E2 #624CE2
triadic
#4C81E2 #E24C81 #81E24C
tetradic
#4C81E2 #E24CCC #E2AD4C #4CE262
square
#4C81E2 #E24CCC #E2AD4C #4CE262
split-complementary
#4C81E2 #E2624C #CCE24C
monochromatic
#19479B #225FCF #4C81E2 #81A6EB #B5CBF3
Accessibility & contrast
On white
3.79
#4C81E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#4C81E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C81E2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C81E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C81E2 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#3A7DE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4c81e2; /* rgb */ color: rgb(76, 129, 226); /* oklch */ color: oklch(61.5% 0.158 261.4);
Tailwind
colors: {
custom: {
50: '#8da5ec',
500: '#4c81e2',
950: '#000000',
},
}SCSS
$custom: #4c81e2; $custom-light: #8da5ec; $custom-dark: #000000;
JSON
{
"hex": "#4c81e2",
"rgb": {
"r": 76,
"g": 129,
"b": 226
},
"hsl": {
"h": 218.8,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.6145,
"c": 0.15771,
"h": 261.4
},
"luminance": 0.22728
}Semantic roles & 50–950 ramp
primary
#4C81E2
secondary
#E2CEA8
accent
#AF39EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84