#4786CC#4786CC
#4786CC is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 61.0% C 0.125 H 252.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4786CC |
|---|---|
| RGB | rgb(71, 134, 204) |
| HSL | hsl(212, 57%, 54%) |
| HSV | hsv(212, 65%, 80%) |
| CMYK | cmyk(65.2%, 34.3%, 0%, 20%) |
| CIE-LAB | lab(54.81, 1.86, -42.19) |
| CIE-LCH | lch(54.81, 42.24, 272.53°) |
| OKLab | oklab(61.03% -0.0373 -0.1196) |
| OKLCH | oklch(61.03% 0.125 252.7) |
| XYZ | xyz(22.0187, 22.7472, 60.3453) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.66
Dark Sky Blue
#448EE4
ΔE00 3.47
Steel Blue
#4682B4
ΔE00 3.51
Off Blue
#5684AE
ΔE00 3.87
Dusty Blue
#5A86AD
ΔE00 4.30
Cerulean (survey)
#0485D1
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4786CC #CC8D47
analogous
#47C9CC #4786CC #4B47CC
triadic
#4786CC #CC4786 #86CC47
tetradic
#4786CC #CC47C9 #CC8D47 #47CC4B
square
#4786CC #CC47C9 #CC8D47 #47CC4B
split-complementary
#4786CC #CC4B47 #C9CC47
monochromatic
#214A77 #2E68A7 #4786CC #77A6D9 #A7C5E7
Accessibility & contrast
On white
3.78
#4786CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#4786CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4786CC
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4786CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4786CC | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 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)
#678ACF
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4786cc; /* rgb */ color: rgb(71, 134, 204); /* oklch */ color: oklch(61.0% 0.125 252.7);
Tailwind
colors: {
custom: {
50: '#87a8dc',
500: '#4786cc',
950: '#000000',
},
}SCSS
$custom: #4786cc; $custom-light: #87a8dc; $custom-dark: #000000;
JSON
{
"hex": "#4786cc",
"rgb": {
"r": 71,
"g": 134,
"b": 204
},
"hsl": {
"h": 211.579,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.61029,
"c": 0.12528,
"h": 252.7
},
"luminance": 0.22749
}Semantic roles & 50–950 ramp
primary
#4786CC
secondary
#D4B99B
accent
#9848E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83