#517CB5#517CB5

#517CB5 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.100 H 255.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#517CB5
RGBrgb(81, 124, 181)
HSLhsl(214, 40%, 51%)
HSVhsv(214, 55%, 71%)
CMYKcmyk(55.2%, 31.5%, 0%, 29%)
CIE-LABlab(51.27, 2.10, -34.61)
CIE-LCHlch(51.27, 34.67, 273.47°)
OKLaboklab(58.01% -0.0245 -0.0974)
OKLCHoklch(58.01% 0.1 255.9)
XYZxyz(18.9386, 19.4993, 46.4728)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CB5 #B58A51
analogous
#51AEB5 #517CB5 #5851B5
triadic
#517CB5 #B5517C #7CB551
tetradic
#517CB5 #B551AE #B58A51 #51B558
square
#517CB5 #B551AE #B58A51 #51B558
split-complementary
#517CB5 #B55851 #AEB551
monochromatic
#2A4262 #3C5F8D #517CB5 #7C9CC7 #A7BDDA

Accessibility & contrast

On white

4.29
#517CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#517CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CB5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CB5#FFFFFF#000000##000000
##517CB51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#108990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517cb5;
/* rgb */ color: rgb(81, 124, 181);
/* oklch */ color: oklch(58.0% 0.100 255.9);
Tailwind
colors: {
  custom: {
    50: '#89a1cb',
    500: '#517cb5',
    950: '#000000',
  },
}
SCSS
$custom: #517cb5;
$custom-light: #89a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#517cb5",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 214.2,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.10049,
    "h": 255.9
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#517CB5
secondary
#C7B49B
accent
#9C58D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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