#5186CF#5186CF
#5186CF is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.125 H 256.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5186CF |
|---|---|
| RGB | rgb(81, 134, 207) |
| HSL | hsl(215, 57%, 56%) |
| HSV | hsv(215, 61%, 81%) |
| CMYK | cmyk(60.9%, 35.3%, 0%, 18.8%) |
| CIE-LAB | lab(55.38, 4.69, -42.96) |
| CIE-LCH | lch(55.38, 43.22, 276.23°) |
| OKLab | oklab(61.64% -0.0287 -0.1217) |
| OKLCH | oklch(61.64% 0.125 256.7) |
| XYZ | xyz(23.1769, 23.3024, 62.2958) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.67
Dark Sky Blue
#448EE4
ΔE00 3.72
Cool Blue
#4984B8
ΔE00 3.88
Off Blue
#5684AE
ΔE00 4.25
Dodger Blue
#3E82FC
ΔE00 4.40
Dusty Blue
#5A86AD
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186CF #CF9A51
analogous
#51C5CF #5186CF #5B51CF
triadic
#5186CF #CF5186 #86CF51
tetradic
#5186CF #CF51C5 #CF9A51 #51CF5B
square
#5186CF #CF51C5 #CF9A51 #51CF5B
split-complementary
#5186CF #CF5B51 #C5CF51
monochromatic
#244B82 #3167B2 #5186CF #81A7DC #B1C9E9
Accessibility & contrast
On white
3.71
#5186CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#5186CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186CF
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186CF | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5186cf; /* rgb */ color: rgb(81, 134, 207); /* oklch */ color: oklch(61.6% 0.125 256.7);
Tailwind
colors: {
custom: {
50: '#8ca8de',
500: '#5186cf',
950: '#000000',
},
}SCSS
$custom: #5186cf; $custom-light: #8ca8de; $custom-dark: #000000;
JSON
{
"hex": "#5186cf",
"rgb": {
"r": 81,
"g": 134,
"b": 207
},
"hsl": {
"h": 214.762,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.6164,
"c": 0.12502,
"h": 256.7
},
"luminance": 0.23305
}Semantic roles & 50–950 ramp
primary
#5186CF
secondary
#D8C2A4
accent
#A048E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83