#5185CF#5185CF
#5185CF is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.4% C 0.126 H 257.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5185CF |
|---|---|
| RGB | rgb(81, 133, 207) |
| HSL | hsl(215, 57%, 56%) |
| HSV | hsv(215, 61%, 81%) |
| CMYK | cmyk(60.9%, 35.7%, 0%, 18.8%) |
| CIE-LAB | lab(55.10, 5.29, -43.41) |
| CIE-LCH | lch(55.10, 43.73, 276.95°) |
| OKLab | oklab(61.42% -0.0276 -0.123) |
| OKLCH | oklch(61.42% 0.126 257.3) |
| XYZ | xyz(23.0394, 23.0273, 62.2500) |
| Luminance | 0.2303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.81
Cool Blue
#4984B8
ΔE00 3.96
Dark Sky Blue
#448EE4
ΔE00 4.06
Off Blue
#5684AE
ΔE00 4.25
Dodger Blue
#3E82FC
ΔE00 4.34
Dusty Blue
#5A86AD
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185CF #CF9B51
analogous
#51C4CF #5185CF #5C51CF
triadic
#5185CF #CF5185 #85CF51
tetradic
#5185CF #CF51C4 #CF9B51 #51CF5C
square
#5185CF #CF51C4 #CF9B51 #51CF5C
split-complementary
#5185CF #CF5C51 #C4CF51
monochromatic
#244B82 #3166B2 #5185CF #81A7DC #B1C8E9
Accessibility & contrast
On white
3.75
#5185CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5185CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185CF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185CF | 1.00 | 3.75 | 5.61 | 5.61 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#668AD2
Deuteranopia (green-blind)
#557ECD
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5185cf; /* rgb */ color: rgb(81, 133, 207); /* oklch */ color: oklch(61.4% 0.126 257.3);
Tailwind
colors: {
custom: {
50: '#8ca8de',
500: '#5185cf',
950: '#000000',
},
}SCSS
$custom: #5185cf; $custom-light: #8ca8de; $custom-dark: #000000;
JSON
{
"hex": "#5185cf",
"rgb": {
"r": 81,
"g": 133,
"b": 207
},
"hsl": {
"h": 215.238,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.6142,
"c": 0.12606,
"h": 257.3
},
"luminance": 0.23029
}Semantic roles & 50–950 ramp
primary
#5185CF
secondary
#D8C2A4
accent
#A148E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83