#517CDB#517CDB
#517CDB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.152 H 264.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #517CDB |
|---|---|
| RGB | rgb(81, 124, 219) |
| HSL | hsl(221, 66%, 59%) |
| HSV | hsv(221, 63%, 86%) |
| CMYK | cmyk(63%, 43.4%, 0%, 14.1%) |
| CIE-LAB | lab(53.25, 14.80, -53.12) |
| CIE-LCH | lch(53.25, 55.14, 285.57°) |
| OKLab | oklab(60.2% -0.0158 -0.1515) |
| OKLCH | oklch(60.2% 0.152 264) |
| XYZ | xyz(23.3827, 21.2770, 69.8787) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.61
Clear Blue
#247AFD
ΔE00 4.01
Dodger Blue
#3E82FC
ΔE00 4.24
Cornflower Blue
#5170D7
ΔE00 4.42
Deep Sky Blue
#0D75F8
ΔE00 4.51
Soft Blue
#6488EA
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517CDB #DBB051
analogous
#51C1DB #517CDB #6B51DB
triadic
#517CDB #DB517C #7CDB51
tetradic
#517CDB #DB51C1 #DBB051 #51DB6B
square
#517CDB #DB51C1 #DBB051 #51DB6B
split-complementary
#517CDB #DB6B51 #C1DB51
monochromatic
#1E4393 #295AC6 #517CDB #84A2E5 #B6C8F0
Accessibility & contrast
On white
4.00
#517CDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#517CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517CDB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517CDB | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #517cdb; /* rgb */ color: rgb(81, 124, 219); /* oklch */ color: oklch(60.2% 0.152 264.0);
Tailwind
colors: {
custom: {
50: '#8ea1e7',
500: '#517cdb',
950: '#000000',
},
}SCSS
$custom: #517cdb; $custom-light: #8ea1e7; $custom-dark: #000000;
JSON
{
"hex": "#517cdb",
"rgb": {
"r": 81,
"g": 124,
"b": 219
},
"hsl": {
"h": 221.304,
"s": 65.714,
"l": 58.824
},
"oklch": {
"l": 0.60198,
"c": 0.15237,
"h": 264
},
"luminance": 0.21279
}Semantic roles & 50–950 ramp
primary
#517CDB
secondary
#DFCEA9
accent
#B43FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84