#5185D3#5185D3
#5185D3 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.6% C 0.131 H 258.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5185D3 |
|---|---|
| RGB | rgb(81, 133, 211) |
| HSL | hsl(216, 60%, 57%) |
| HSV | hsv(216, 62%, 83%) |
| CMYK | cmyk(61.6%, 37%, 0%, 17.3%) |
| CIE-LAB | lab(55.30, 6.63, -45.34) |
| CIE-LCH | lch(55.30, 45.82, 278.32°) |
| OKLab | oklab(61.65% -0.0266 -0.1286) |
| OKLCH | oklch(61.65% 0.131 258.3) |
| XYZ | xyz(23.5346, 23.2254, 64.8581) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.95
Dodger Blue
#3E82FC
ΔE00 3.98
Dark Sky Blue
#448EE4
ΔE00 4.03
Cool Blue
#4984B8
ΔE00 4.37
Azure
#007FFF
ΔE00 4.54
Soft Blue
#6488EA
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185D3 #D39F51
analogous
#51C6D3 #5185D3 #5E51D3
triadic
#5185D3 #D35185 #85D351
tetradic
#5185D3 #D351C6 #D39F51 #51D35E
square
#5185D3 #D351C6 #D39F51 #51D35E
split-complementary
#5185D3 #D35E51 #C6D351
monochromatic
#224B87 #2F66B8 #5185D3 #82A7DF #B3C9EC
Accessibility & contrast
On white
3.72
#5185D3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#5185D3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185D3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185D3 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#638BD6
Deuteranopia (green-blind)
#527FD1
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5185d3; /* rgb */ color: rgb(81, 133, 211); /* oklch */ color: oklch(61.6% 0.131 258.3);
Tailwind
colors: {
custom: {
50: '#8da8e1',
500: '#5185d3',
950: '#000000',
},
}SCSS
$custom: #5185d3; $custom-light: #8da8e1; $custom-dark: #000000;
JSON
{
"hex": "#5185d3",
"rgb": {
"r": 81,
"g": 133,
"b": 211
},
"hsl": {
"h": 216,
"s": 59.633,
"l": 57.255
},
"oklch": {
"l": 0.61645,
"c": 0.13138,
"h": 258.3
},
"luminance": 0.23228
}Semantic roles & 50–950 ramp
primary
#5185D3
secondary
#DAC5A6
accent
#A445E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83