#5186CB#5186CB
#5186CB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 255.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5186CB |
|---|---|
| RGB | rgb(81, 134, 203) |
| HSL | hsl(214, 54%, 56%) |
| HSV | hsv(214, 60%, 80%) |
| CMYK | cmyk(60.1%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(55.18, 3.36, -41.01) |
| CIE-LCH | lch(55.18, 41.15, 274.68°) |
| OKLab | oklab(61.42% -0.0297 -0.116) |
| OKLCH | oklch(61.42% 0.12 255.6) |
| XYZ | xyz(22.6941, 23.1093, 59.7529) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 3.45
Faded Blue
#658CBB
ΔE00 3.55
Dark Sky Blue
#448EE4
ΔE00 3.82
Off Blue
#5684AE
ΔE00 3.86
Dusty Blue
#5A86AD
ΔE00 4.18
Steel Blue
#4682B4
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186CB #CB9651
analogous
#51C3CB #5186CB #5951CB
triadic
#5186CB #CB5186 #86CB51
tetradic
#5186CB #CB51C3 #CB9651 #51CB59
square
#5186CB #CB51C3 #CB9651 #51CB59
split-complementary
#5186CB #CB5951 #C3CB51
monochromatic
#254B7C #3368AC #5186CB #80A7D9 #AFC8E7
Accessibility & contrast
On white
3.74
#5186CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5186CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186CB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186CB | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#698ACE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5186cb; /* rgb */ color: rgb(81, 134, 203); /* oklch */ color: oklch(61.4% 0.120 255.6);
Tailwind
colors: {
custom: {
50: '#8ca8db',
500: '#5186cb',
950: '#000000',
},
}SCSS
$custom: #5186cb; $custom-light: #8ca8db; $custom-dark: #000000;
JSON
{
"hex": "#5186cb",
"rgb": {
"r": 81,
"g": 134,
"b": 203
},
"hsl": {
"h": 213.934,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.61421,
"c": 0.11974,
"h": 255.6
},
"luminance": 0.23111
}Semantic roles & 50–950 ramp
primary
#5186CB
secondary
#D5BFA3
accent
#9E4ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83