#517DDB#517DDB

#517DDB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.151 H 263.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#517DDB
RGBrgb(81, 125, 219)
HSLhsl(221, 66%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63%, 42.9%, 0%, 14.1%)
CIE-LABlab(53.52, 14.19, -52.68)
CIE-LCHlch(53.52, 54.56, 285.07°)
OKLaboklab(60.41% -0.0168 -0.1503)
OKLCHoklch(60.41% 0.151 263.6)
XYZxyz(23.5087, 21.5289, 69.9207)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DDB #DBAF51
analogous
#51C2DB #517DDB #6A51DB
triadic
#517DDB #DB517D #7DDB51
tetradic
#517DDB #DB51C2 #DBAF51 #51DB6A
square
#517DDB #DB51C2 #DBAF51 #51DB6A
split-complementary
#517DDB #DB6A51 #C2DB51
monochromatic
#1E4493 #295BC6 #517DDB #84A3E5 #B6C9F0

Accessibility & contrast

On white

3.96
#517DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#517DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DDB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DDB#FFFFFF#000000##000000
##517DDB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ddb;
/* rgb */ color: rgb(81, 125, 219);
/* oklch */ color: oklch(60.4% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#517ddb',
    950: '#000000',
  },
}
SCSS
$custom: #517ddb;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517ddb",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 220.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.1512,
    "h": 263.6
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#517DDB
secondary
#DFCEA9
accent
#B33FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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