#517BC9#517BC9

#517BC9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.129 H 261.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#517BC9
RGBrgb(81, 123, 201)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 60%, 79%)
CMYKcmyk(59.7%, 38.8%, 0%, 21.2%)
CIE-LABlab(51.98, 9.31, -44.93)
CIE-LCHlch(51.98, 45.89, 281.70°)
OKLaboklab(58.9% -0.0183 -0.1276)
OKLCHoklch(58.9% 0.129 261.8)
XYZxyz(21.0153, 20.1305, 58.0251)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC9 #C99F51
analogous
#51B7C9 #517BC9 #6351C9
triadic
#517BC9 #C9517B #7BC951
tetradic
#517BC9 #C951B7 #C99F51 #51C963
square
#517BC9 #C951B7 #C99F51 #51C963
split-complementary
#517BC9 #C96351 #B7C951
monochromatic
#26437A #345DA9 #517BC9 #809ED7 #AEC2E6

Accessibility & contrast

On white

4.18
#517BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#517BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC9#FFFFFF#000000##000000
##517BC91.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CC
Deuteranopia (green-blind)
#4977C7
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bc9;
/* rgb */ color: rgb(81, 123, 201);
/* oklch */ color: oklch(58.9% 0.129 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca0da',
    500: '#517bc9',
    950: '#000000',
  },
}
SCSS
$custom: #517bc9;
$custom-light: #8ca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc9",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 219,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58898,
    "c": 0.12888,
    "h": 261.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#517BC9
secondary
#D4C2A2
accent
#AA4CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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