#5187D5#5187D5
#5187D5 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.2% C 0.132 H 257.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5187D5 |
|---|---|
| RGB | rgb(81, 135, 213) |
| HSL | hsl(215, 61%, 58%) |
| HSV | hsv(215, 62%, 84%) |
| CMYK | cmyk(62%, 36.6%, 0%, 16.5%) |
| CIE-LAB | lab(55.97, 6.11, -45.42) |
| CIE-LCH | lch(55.97, 45.83, 277.66°) |
| OKLab | oklab(62.19% -0.0282 -0.1289) |
| OKLCH | oklch(62.19% 0.132 257.6) |
| XYZ | xyz(24.0633, 23.8792, 66.2789) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.32
Faded Blue
#658CBB
ΔE00 3.81
Dodger Blue
#3E82FC
ΔE00 3.96
Cool Blue
#4984B8
ΔE00 4.46
Soft Blue
#6488EA
ΔE00 4.52
Azure
#007FFF
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5187D5 #D59F51
analogous
#51C9D5 #5187D5 #5D51D5
triadic
#5187D5 #D55187 #87D551
tetradic
#5187D5 #D551C9 #D59F51 #51D55D
square
#5187D5 #D551C9 #D59F51 #51D55D
split-complementary
#5187D5 #D55D51 #C9D551
monochromatic
#214C8A #2D67BC #5187D5 #82A9E1 #B4CBED
Accessibility & contrast
On white
3.64
#5187D5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#5187D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5187D5
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5187D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5187D5 | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#658DD8
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5187d5; /* rgb */ color: rgb(81, 135, 213); /* oklch */ color: oklch(62.2% 0.132 257.6);
Tailwind
colors: {
custom: {
50: '#8da9e2',
500: '#5187d5',
950: '#000000',
},
}SCSS
$custom: #5187d5; $custom-light: #8da9e2; $custom-dark: #000000;
JSON
{
"hex": "#5187d5",
"rgb": {
"r": 81,
"g": 135,
"b": 213
},
"hsl": {
"h": 215.455,
"s": 61.111,
"l": 57.647
},
"oklch": {
"l": 0.62194,
"c": 0.13192,
"h": 257.6
},
"luminance": 0.23881
}Semantic roles & 50–950 ramp
primary
#5187D5
secondary
#DBC6A6
accent
#A344E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83