#517CDD#517CDD

#517CDD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.155 H 264.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#517CDD
RGBrgb(81, 124, 221)
HSLhsl(222, 67%, 59%)
HSVhsv(222, 63%, 87%)
CMYKcmyk(63.3%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.37, 15.48, -54.06)
CIE-LCHlch(53.37, 56.23, 285.98°)
OKLaboklab(60.32% -0.0155 -0.1543)
OKLCHoklch(60.32% 0.155 264.3)
XYZxyz(23.6476, 21.3829, 71.2737)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CDD #DDB251
analogous
#51C2DD #517CDD #6C51DD
triadic
#517CDD #DD517C #7CDD51
tetradic
#517CDD #DD51C2 #DDB251 #51DD6C
square
#517CDD #DD51C2 #DDB251 #51DD6C
split-complementary
#517CDD #DD6C51 #C2DD51
monochromatic
#1D4296 #2759C9 #517CDD #84A3E7 #B7C9F1

Accessibility & contrast

On white

3.98
#517CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#517CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CDD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CDD#FFFFFF#000000##000000
##517CDD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517cdd;
/* rgb */ color: rgb(81, 124, 221);
/* oklch */ color: oklch(60.3% 0.155 264.3);
Tailwind
colors: {
  custom: {
    50: '#8fa1e8',
    500: '#517cdd',
    950: '#000000',
  },
}
SCSS
$custom: #517cdd;
$custom-light: #8fa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#517cdd",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 221.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.15509,
    "h": 264.3
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#517CDD
secondary
#E0CFAA
accent
#B53EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517CDD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#517CDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva