#517DBA#517DBA

#517DBA is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.106 H 256.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#517DBA
RGBrgb(81, 125, 186)
HSLhsl(215, 43%, 52%)
HSVhsv(215, 56%, 73%)
CMYKcmyk(56.5%, 32.8%, 0%, 27.1%)
CIE-LABlab(51.79, 3.13, -36.66)
CIE-LCHlch(51.79, 36.79, 274.87°)
OKLaboklab(58.5% -0.0243 -0.1034)
OKLCHoklch(58.5% 0.106 256.8)
XYZxyz(19.5868, 19.9601, 49.2654)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DBA #BA8E51
analogous
#51B2BA #517DBA #5951BA
triadic
#517DBA #BA517D #7DBA51
tetradic
#517DBA #BA51B2 #BA8E51 #51BA59
square
#517DBA #BA51B2 #BA8E51 #51BA59
split-complementary
#517DBA #BA5951 #B2BA51
monochromatic
#294368 #3A6093 #517DBA #7D9ECB #A9BEDD

Accessibility & contrast

On white

4.21
#517DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#517DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DBA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DBA#FFFFFF#000000##000000
##517DBA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517dba;
/* rgb */ color: rgb(81, 125, 186);
/* oklch */ color: oklch(58.5% 0.106 256.8);
Tailwind
colors: {
  custom: {
    50: '#89a2cf',
    500: '#517dba',
    950: '#000000',
  },
}
SCSS
$custom: #517dba;
$custom-light: #89a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#517dba",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 214.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.10621,
    "h": 256.8
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#517DBA
secondary
#CAB79D
accent
#9E55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #517DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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