#4786E2#4786E2
#4786E2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.154 H 258.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4786E2 |
|---|---|
| RGB | rgb(71, 134, 226) |
| HSL | hsl(216, 73%, 58%) |
| HSV | hsv(216, 69%, 89%) |
| CMYK | cmyk(68.6%, 40.7%, 0%, 11.4%) |
| CIE-LAB | lab(55.97, 9.50, -52.74) |
| CIE-LCH | lch(55.97, 53.59, 280.22°) |
| OKLab | oklab(62.31% -0.0321 -0.1505) |
| OKLCH | oklch(62.31% 0.154 258) |
| XYZ | xyz(24.8461, 23.8782, 75.2363) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.00
Dark Sky Blue
#448EE4
ΔE00 3.05
Azure
#007FFF
ΔE00 3.40
Clear Blue
#247AFD
ΔE00 4.51
Soft Blue
#6488EA
ΔE00 4.69
Dodgerblue
#1E90FF
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4786E2 #E2A347
analogous
#47D3E2 #4786E2 #5547E2
triadic
#4786E2 #E24786 #86E247
tetradic
#4786E2 #E247D3 #E2A347 #47E255
square
#4786E2 #E247D3 #E2A347 #47E255
split-complementary
#4786E2 #E25547 #D3E247
monochromatic
#184B97 #2066CC #4786E2 #7CA9EA #B1CCF3
Accessibility & contrast
On white
3.64
#4786E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#4786E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4786E2
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4786E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4786E2 | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #4786e2; /* rgb */ color: rgb(71, 134, 226); /* oklch */ color: oklch(62.3% 0.154 258.0);
Tailwind
colors: {
custom: {
50: '#8ba8eb',
500: '#4786e2',
950: '#000000',
},
}SCSS
$custom: #4786e2; $custom-light: #8ba8eb; $custom-dark: #000000;
JSON
{
"hex": "#4786e2",
"rgb": {
"r": 71,
"g": 134,
"b": 226
},
"hsl": {
"h": 215.613,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.62305,
"c": 0.15384,
"h": 258
},
"luminance": 0.23881
}Semantic roles & 50–950 ramp
primary
#4786E2
secondary
#E1C8A4
accent
#A538EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84