#517DB2#517DB2

#517DB2 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.096 H 253.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#517DB2
RGBrgb(81, 125, 178)
HSLhsl(213, 39%, 51%)
HSVhsv(213, 54%, 70%)
CMYKcmyk(54.5%, 29.8%, 0%, 30.2%)
CIE-LABlab(51.42, 0.53, -32.64)
CIE-LCHlch(51.42, 32.65, 270.94°)
OKLaboklab(58.08% -0.0266 -0.0917)
OKLCHoklch(58.08% 0.096 253.8)
XYZxyz(18.7600, 19.6294, 44.9111)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DB2 #B28651
analogous
#51ADB2 #517DB2 #5651B2
triadic
#517DB2 #B2517D #7DB251
tetradic
#517DB2 #B251AD #B28651 #51B256
square
#517DB2 #B251AD #B28651 #51B256
split-complementary
#517DB2 #B25651 #ADB251
monochromatic
#2A425F #3D5F89 #517DB2 #7B9DC5 #A6BCD8

Accessibility & contrast

On white

4.26
#517DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#517DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DB2#FFFFFF#000000##000000
##517DB21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B4
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#168990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517db2;
/* rgb */ color: rgb(81, 125, 178);
/* oklch */ color: oklch(58.1% 0.096 253.8);
Tailwind
colors: {
  custom: {
    50: '#88a2c9',
    500: '#517db2',
    950: '#000000',
  },
}
SCSS
$custom: #517db2;
$custom-light: #88a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517db2",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 212.784,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.09553,
    "h": 253.8
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#517DB2
secondary
#C5B19A
accent
#9959CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #517DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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