#517BB2#517BB2

#517BB2 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.097 H 255.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#517BB2
RGBrgb(81, 123, 178)
HSLhsl(214, 39%, 51%)
HSVhsv(214, 54%, 70%)
CMYKcmyk(54.5%, 30.9%, 0%, 30.2%)
CIE-LABlab(50.84, 1.73, -33.55)
CIE-LCHlch(50.84, 33.59, 272.94°)
OKLaboklab(57.63% -0.0242 -0.0944)
OKLCHoklch(57.63% 0.097 255.6)
XYZxyz(18.5094, 19.1281, 44.8276)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BB2 #B28851
analogous
#51ABB2 #517BB2 #5851B2
triadic
#517BB2 #B2517B #7BB251
tetradic
#517BB2 #B251AB #B28851 #51B258
square
#517BB2 #B251AB #B28851 #51B258
split-complementary
#517BB2 #B25851 #ABB251
monochromatic
#2A415F #3D5E89 #517BB2 #7B9BC5 #A6BBD8

Accessibility & contrast

On white

4.35
#517BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#517BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BB2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BB2#FFFFFF#000000##000000
##517BB21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#17878F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517bb2;
/* rgb */ color: rgb(81, 123, 178);
/* oklch */ color: oklch(57.6% 0.097 255.6);
Tailwind
colors: {
  custom: {
    50: '#88a0c9',
    500: '#517bb2',
    950: '#000000',
  },
}
SCSS
$custom: #517bb2;
$custom-light: #88a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517bb2",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 214.021,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.09745,
    "h": 255.6
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#517BB2
secondary
#C5B29A
accent
#9C59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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