#517EB2#517EB2

#517EB2 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.095 H 252.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#517EB2
RGBrgb(81, 126, 178)
HSLhsl(212, 39%, 51%)
HSVhsv(212, 54%, 70%)
CMYKcmyk(54.5%, 29.2%, 0%, 30.2%)
CIE-LABlab(51.71, -0.06, -32.19)
CIE-LCHlch(51.71, 32.19, 269.89°)
OKLaboklab(58.31% -0.0278 -0.0904)
OKLCHoklch(58.31% 0.095 252.9)
XYZxyz(18.8873, 19.8839, 44.9535)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EB2 #B28551
analogous
#51AEB2 #517EB2 #5451B2
triadic
#517EB2 #B2517E #7EB251
tetradic
#517EB2 #B251AE #B28551 #51B254
square
#517EB2 #B251AE #B28551 #51B254
split-complementary
#517EB2 #B25451 #AEB251
monochromatic
#2A425F #3D6089 #517EB2 #7B9DC5 #A6BDD8

Accessibility & contrast

On white

4.22
#517EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#517EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EB2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EB2#FFFFFF#000000##000000
##517EB21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#158A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517eb2;
/* rgb */ color: rgb(81, 126, 178);
/* oklch */ color: oklch(58.3% 0.095 252.9);
Tailwind
colors: {
  custom: {
    50: '#88a3c9',
    500: '#517eb2',
    950: '#000000',
  },
}
SCSS
$custom: #517eb2;
$custom-light: #88a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#517eb2",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 212.165,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.09461,
    "h": 252.9
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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