#5182BC#5182BC
#5182BC is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.7% C 0.104 H 253.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5182BC |
|---|---|
| RGB | rgb(81, 130, 188) |
| HSL | hsl(213, 44%, 53%) |
| HSV | hsv(213, 57%, 74%) |
| CMYK | cmyk(56.9%, 30.9%, 0%, 26.3%) |
| CIE-LAB | lab(53.32, 0.80, -35.40) |
| CIE-LCH | lch(53.32, 35.41, 271.29°) |
| OKLab | oklab(59.73% -0.0294 -0.0997) |
| OKLCH | oklch(59.73% 0.104 253.6) |
| XYZ | xyz(20.4499, 21.3437, 50.6093) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.46
Off Blue
#5684AE
ΔE00 2.59
Steel Blue
#4682B4
ΔE00 2.97
Dusty Blue
#5A86AD
ΔE00 3.30
Faded Blue
#658CBB
ΔE00 4.14
Windows Blue
#3778BF
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182BC #BC8B51
analogous
#51B8BC #5182BC #5551BC
triadic
#5182BC #BC5182 #82BC51
tetradic
#5182BC #BC51B8 #BC8B51 #51BC55
square
#5182BC #BC51B8 #BC8B51 #51BC55
split-complementary
#5182BC #BC5551 #B8BC51
monochromatic
#29476A #3A6496 #5182BC #7DA2CD #A9C1DE
Accessibility & contrast
On white
3.99
#5182BC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5182BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182BC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182BC | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5182bc; /* rgb */ color: rgb(81, 130, 188); /* oklch */ color: oklch(59.7% 0.104 253.6);
Tailwind
colors: {
custom: {
50: '#8aa6d0',
500: '#5182bc',
950: '#000000',
},
}SCSS
$custom: #5182bc; $custom-light: #8aa6d0; $custom-dark: #000000;
JSON
{
"hex": "#5182bc",
"rgb": {
"r": 81,
"g": 130,
"b": 188
},
"hsl": {
"h": 212.523,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.5973,
"c": 0.10397,
"h": 253.6
},
"luminance": 0.21345
}Semantic roles & 50–950 ramp
primary
#5182BC
secondary
#CCB69D
accent
#9954D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82