#517BB5#517BB5

#517BB5 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.102 H 256.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#517BB5
RGBrgb(81, 123, 181)
HSLhsl(215, 40%, 51%)
HSVhsv(215, 55%, 71%)
CMYKcmyk(55.2%, 32%, 0%, 29%)
CIE-LABlab(50.98, 2.70, -35.06)
CIE-LCHlch(50.98, 35.16, 274.40°)
OKLaboklab(57.79% -0.0234 -0.0988)
OKLCHoklch(57.79% 0.102 256.7)
XYZxyz(18.8139, 19.2499, 46.4313)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BB5 #B58B51
analogous
#51ADB5 #517BB5 #5951B5
triadic
#517BB5 #B5517B #7BB551
tetradic
#517BB5 #B551AD #B58B51 #51B559
square
#517BB5 #B551AD #B58B51 #51B559
split-complementary
#517BB5 #B55951 #ADB551
monochromatic
#2A4162 #3C5E8D #517BB5 #7C9CC7 #A7BCDA

Accessibility & contrast

On white

4.33
#517BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#517BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BB5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BB5#FFFFFF#000000##000000
##517BB51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#118890
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517bb5;
/* rgb */ color: rgb(81, 123, 181);
/* oklch */ color: oklch(57.8% 0.102 256.7);
Tailwind
colors: {
  custom: {
    50: '#89a0cb',
    500: '#517bb5',
    950: '#000000',
  },
}
SCSS
$custom: #517bb5;
$custom-light: #89a0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#517bb5",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 214.8,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.1015,
    "h": 256.7
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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