#517CBD#517CBD

#517CBD is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.4% C 0.111 H 258.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#517CBD
RGBrgb(81, 124, 189)
HSLhsl(216, 45%, 53%)
HSVhsv(216, 57%, 74%)
CMYKcmyk(57.1%, 34.4%, 0%, 25.9%)
CIE-LABlab(51.65, 4.71, -38.60)
CIE-LCHlch(51.65, 38.89, 276.96°)
OKLaboklab(58.44% -0.0223 -0.1091)
OKLCHoklch(58.44% 0.111 258.4)
XYZxyz(19.7831, 19.8371, 50.9207)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CBD #BD9251
analogous
#51B2BD #517CBD #5C51BD
triadic
#517CBD #BD517C #7CBD51
tetradic
#517CBD #BD51B2 #BD9251 #51BD5C
square
#517CBD #BD51B2 #BD9251 #51BD5C
split-complementary
#517CBD #BD5C51 #B2BD51
monochromatic
#29436B #395F97 #517CBD #7D9DCE #AABFDF

Accessibility & contrast

On white

4.23
#517CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#517CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CBD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CBD#FFFFFF#000000##000000
##517CBD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#5476BC
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517cbd;
/* rgb */ color: rgb(81, 124, 189);
/* oklch */ color: oklch(58.4% 0.111 258.4);
Tailwind
colors: {
  custom: {
    50: '#8aa1d1',
    500: '#517cbd',
    950: '#000000',
  },
}
SCSS
$custom: #517cbd;
$custom-light: #8aa1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#517cbd",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 189
  },
  "hsl": {
    "h": 216.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.11133,
    "h": 258.4
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#517CBD
secondary
#CCBA9E
accent
#A153D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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