#517CB2#517CB2

#517CB2 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.096 H 254.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#517CB2
RGBrgb(81, 124, 178)
HSLhsl(213, 39%, 51%)
HSVhsv(213, 54%, 70%)
CMYKcmyk(54.5%, 30.3%, 0%, 30.2%)
CIE-LABlab(51.13, 1.13, -33.10)
CIE-LCHlch(51.13, 33.12, 271.95°)
OKLaboklab(57.86% -0.0254 -0.0931)
OKLCHoklch(57.86% 0.096 254.7)
XYZxyz(18.6341, 19.3775, 44.8691)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CB2 #B28751
analogous
#51ACB2 #517CB2 #5651B2
triadic
#517CB2 #B2517C #7CB251
tetradic
#517CB2 #B251AC #B28751 #51B256
square
#517CB2 #B251AC #B28751 #51B256
split-complementary
#517CB2 #B25651 #ACB251
monochromatic
#2A415F #3D5F89 #517CB2 #7B9CC5 #A6BCD8

Accessibility & contrast

On white

4.31
#517CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#517CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CB2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CB2#FFFFFF#000000##000000
##517CB21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5A76B1
Tritanopia (blue-blind)
#16888F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517cb2;
/* rgb */ color: rgb(81, 124, 178);
/* oklch */ color: oklch(57.9% 0.096 254.7);
Tailwind
colors: {
  custom: {
    50: '#88a1c9',
    500: '#517cb2',
    950: '#000000',
  },
}
SCSS
$custom: #517cb2;
$custom-light: #88a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517cb2",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 213.402,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.09648,
    "h": 254.7
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#517CB2
secondary
#C5B29A
accent
#9B59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #517CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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