#4782E4#4782E4
#4782E4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.161 H 260.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4782E4 |
|---|---|
| RGB | rgb(71, 130, 228) |
| HSL | hsl(217, 74%, 59%) |
| HSV | hsv(217, 69%, 89%) |
| CMYK | cmyk(68.9%, 43%, 0%, 10.6%) |
| CIE-LAB | lab(54.97, 12.64, -55.44) |
| CIE-LCH | lch(54.97, 56.86, 282.84°) |
| OKLab | oklab(61.57% -0.028 -0.1585) |
| OKLCH | oklch(61.57% 0.161 260) |
| XYZ | xyz(24.5797, 22.9037, 76.5092) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.40
Azure
#007FFF
ΔE00 3.08
Clear Blue
#247AFD
ΔE00 3.40
Lightish Blue
#3D7AFD
ΔE00 3.81
Soft Blue
#6488EA
ΔE00 4.37
Dark Sky Blue
#448EE4
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4782E4 #E4A947
analogous
#47D1E4 #4782E4 #5A47E4
triadic
#4782E4 #E44782 #82E447
tetradic
#4782E4 #E447D1 #E4A947 #47E45A
square
#4782E4 #E447D1 #E4A947 #47E45A
split-complementary
#4782E4 #E45A47 #D1E447
monochromatic
#17489A #1E61CF #4782E4 #7CA6EC #B2CBF4
Accessibility & contrast
On white
3.76
#4782E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#4782E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4782E4
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4782E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4782E4 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #4782e4; /* rgb */ color: rgb(71, 130, 228); /* oklch */ color: oklch(61.6% 0.161 260.0);
Tailwind
colors: {
custom: {
50: '#8ba5ed',
500: '#4782e4',
950: '#000000',
},
}SCSS
$custom: #4782e4; $custom-light: #8ba5ed; $custom-dark: #000000;
JSON
{
"hex": "#4782e4",
"rgb": {
"r": 71,
"g": 130,
"b": 228
},
"hsl": {
"h": 217.452,
"s": 74.408,
"l": 58.627
},
"oklch": {
"l": 0.61573,
"c": 0.16092,
"h": 260
},
"luminance": 0.22906
}Semantic roles & 50–950 ramp
primary
#4782E4
secondary
#E2CBA4
accent
#AB37F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84