#517DBF#517DBF

#517DBF is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.113 H 258.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#517DBF
RGBrgb(81, 125, 191)
HSLhsl(216, 46%, 53%)
HSVhsv(216, 58%, 75%)
CMYKcmyk(57.6%, 34.6%, 0%, 25.1%)
CIE-LABlab(52.04, 4.77, -39.14)
CIE-LCHlch(52.04, 39.43, 276.94°)
OKLaboklab(58.77% -0.023 -0.1106)
OKLCHoklch(58.77% 0.113 258.3)
XYZxyz(20.1276, 20.1765, 52.1139)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DBF #BF9351
analogous
#51B4BF #517DBF #5C51BF
triadic
#517DBF #BF517D #7DBF51
tetradic
#517DBF #BF51B4 #BF9351 #51BF5C
square
#517DBF #BF51B4 #BF9351 #51BF5C
split-complementary
#517DBF #BF5C51 #B4BF51
monochromatic
#28446D #39609A #517DBF #7E9ECF #AAC0E0

Accessibility & contrast

On white

4.17
#517DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#517DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DBF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DBF#FFFFFF#000000##000000
##517DBF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#5477BE
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517dbf;
/* rgb */ color: rgb(81, 125, 191);
/* oklch */ color: oklch(58.8% 0.113 258.3);
Tailwind
colors: {
  custom: {
    50: '#8aa2d2',
    500: '#517dbf',
    950: '#000000',
  },
}
SCSS
$custom: #517dbf;
$custom-light: #8aa2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#517dbf",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 216,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.11299,
    "h": 258.3
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#517DBF
secondary
#CEBB9E
accent
#A152D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #517DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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