#5182CD#5182CD
#5182CD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.127 H 258.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5182CD |
|---|---|
| RGB | rgb(81, 130, 205) |
| HSL | hsl(216, 55%, 56%) |
| HSV | hsv(216, 60%, 80%) |
| CMYK | cmyk(60.5%, 36.6%, 0%, 19.6%) |
| CIE-LAB | lab(54.15, 6.42, -43.77) |
| CIE-LCH | lch(54.15, 44.24, 278.34°) |
| OKLab | oklab(60.65% -0.0249 -0.1241) |
| OKLCH | oklch(60.65% 0.127 258.6) |
| XYZ | xyz(22.3915, 22.1204, 60.8354) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cool Blue
#4984B8
ΔE00 4.18
Off Blue
#5684AE
ΔE00 4.25
Faded Blue
#658CBB
ΔE00 4.31
Dodger Blue
#3E82FC
ΔE00 4.55
Dusty Blue
#5A86AD
ΔE00 4.68
Steel Blue
#4682B4
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5182CD #CD9C51
analogous
#51C0CD #5182CD #5E51CD
triadic
#5182CD #CD5182 #82CD51
tetradic
#5182CD #CD51C0 #CD9C51 #51CD5E
square
#5182CD #CD51C0 #CD9C51 #51CD5E
split-complementary
#5182CD #CD5E51 #C0CD51
monochromatic
#25487F #3263AF #5182CD #81A4DB #B0C6E8
Accessibility & contrast
On white
3.87
#5182CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5182CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5182CD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5182CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5182CD | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5182cd; /* rgb */ color: rgb(81, 130, 205); /* oklch */ color: oklch(60.7% 0.127 258.6);
Tailwind
colors: {
custom: {
50: '#8ca5dc',
500: '#5182cd',
950: '#000000',
},
}SCSS
$custom: #5182cd; $custom-light: #8ca5dc; $custom-dark: #000000;
JSON
{
"hex": "#5182cd",
"rgb": {
"r": 81,
"g": 130,
"b": 205
},
"hsl": {
"h": 216.29,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.60651,
"c": 0.12657,
"h": 258.6
},
"luminance": 0.22122
}Semantic roles & 50–950 ramp
primary
#5182CD
secondary
#D7C2A3
accent
#A449DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83