#4B81E4#4B81E4
#4B81E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.161 H 261.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4B81E4 |
|---|---|
| RGB | rgb(75, 129, 228) |
| HSL | hsl(219, 74%, 59%) |
| HSV | hsv(219, 67%, 89%) |
| CMYK | cmyk(67.1%, 43.4%, 0%, 10.6%) |
| CIE-LAB | lab(54.86, 13.86, -55.61) |
| CIE-LCH | lch(54.86, 57.31, 283.99°) |
| OKLab | oklab(61.53% -0.024 -0.1589) |
| OKLCH | oklch(61.53% 0.161 261.4) |
| XYZ | xyz(24.7505, 22.7953, 76.4793) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.41
Clear Blue
#247AFD
ΔE00 3.32
Lightish Blue
#3D7AFD
ΔE00 3.40
Azure
#007FFF
ΔE00 3.50
Soft Blue
#6488EA
ΔE00 3.97
Deep Sky Blue
#0D75F8
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B81E4 #E4AE4B
analogous
#4BCDE4 #4B81E4 #624BE4
triadic
#4B81E4 #E44B81 #81E44B
tetradic
#4B81E4 #E44BCD #E4AE4B #4BE462
square
#4B81E4 #E44BCD #E4AE4B #4BE462
split-complementary
#4B81E4 #E4624B #CDE44B
monochromatic
#18479D #205FD2 #4B81E4 #80A6EC #B5CCF4
Accessibility & contrast
On white
3.78
#4B81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#4B81E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4B81E4
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B81E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4B81E4 | 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)
#518BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4b81e4; /* rgb */ color: rgb(75, 129, 228); /* oklch */ color: oklch(61.5% 0.161 261.4);
Tailwind
colors: {
custom: {
50: '#8da5ed',
500: '#4b81e4',
950: '#000000',
},
}SCSS
$custom: #4b81e4; $custom-light: #8da5ed; $custom-dark: #000000;
JSON
{
"hex": "#4b81e4",
"rgb": {
"r": 75,
"g": 129,
"b": 228
},
"hsl": {
"h": 218.824,
"s": 73.913,
"l": 59.412
},
"oklch": {
"l": 0.61531,
"c": 0.16071,
"h": 261.4
},
"luminance": 0.22798
}Semantic roles & 50–950 ramp
primary
#4B81E4
secondary
#E3CEA8
accent
#AF37F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84