#517FB2#517FB2

#517FB2 is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.094 H 252.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#517FB2
RGBrgb(81, 127, 178)
HSLhsl(212, 39%, 51%)
HSVhsv(212, 54%, 70%)
CMYKcmyk(54.5%, 28.7%, 0%, 30.2%)
CIE-LABlab(52.00, -0.65, -31.74)
CIE-LCHlch(52.00, 31.74, 268.82°)
OKLaboklab(58.54% -0.0289 -0.0891)
OKLCHoklch(58.54% 0.094 252)
XYZxyz(19.0158, 20.1409, 44.9964)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FB2 #B28451
analogous
#51AFB2 #517FB2 #5351B2
triadic
#517FB2 #B2517F #7FB251
tetradic
#517FB2 #B251AF #B28451 #51B253
square
#517FB2 #B251AF #B28451 #51B253
split-complementary
#517FB2 #B25351 #AFB251
monochromatic
#2A435F #3D6189 #517FB2 #7B9EC5 #A6BDD8

Accessibility & contrast

On white

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

On black

5.03
#517FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FB2#FFFFFF#000000##000000
##517FB21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#158B91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517fb2;
/* rgb */ color: rgb(81, 127, 178);
/* oklch */ color: oklch(58.5% 0.094 252.0);
Tailwind
colors: {
  custom: {
    50: '#88a3c9',
    500: '#517fb2',
    950: '#000000',
  },
}
SCSS
$custom: #517fb2;
$custom-light: #88a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517fb2",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 211.546,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.0937,
    "h": 252
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#517FB2
secondary
#C5B19A
accent
#9759CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #517FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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