#517DBD#517DBD

#517DBD is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.7% C 0.110 H 257.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#517DBD
RGBrgb(81, 125, 189)
HSLhsl(216, 45%, 53%)
HSVhsv(216, 57%, 74%)
CMYKcmyk(57.1%, 33.9%, 0%, 25.9%)
CIE-LABlab(51.94, 4.11, -38.15)
CIE-LCHlch(51.94, 38.37, 276.15°)
OKLaboklab(58.66% -0.0235 -0.1077)
OKLCHoklch(58.66% 0.11 257.7)
XYZxyz(19.9091, 20.0890, 50.9627)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DBD #BD9151
analogous
#51B3BD #517DBD #5B51BD
triadic
#517DBD #BD517D #7DBD51
tetradic
#517DBD #BD51B3 #BD9151 #51BD5B
square
#517DBD #BD51B3 #BD9151 #51BD5B
split-complementary
#517DBD #BD5B51 #B3BD51
monochromatic
#29446B #396097 #517DBD #7D9ECE #AABFDF

Accessibility & contrast

On white

4.18
#517DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#517DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DBD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DBD#FFFFFF#000000##000000
##517DBD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381C0
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517dbd;
/* rgb */ color: rgb(81, 125, 189);
/* oklch */ color: oklch(58.7% 0.110 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2d1',
    500: '#517dbd',
    950: '#000000',
  },
}
SCSS
$custom: #517dbd;
$custom-light: #8aa2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#517dbd",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 215.556,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.11028,
    "h": 257.7
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#517DBD
secondary
#CCB99E
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #517DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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