#517CCB#517CCB

#517CCB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.131 H 261.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#517CCB
RGBrgb(81, 124, 203)
HSLhsl(219, 54%, 56%)
HSVhsv(219, 60%, 80%)
CMYKcmyk(60.1%, 38.9%, 0%, 20.4%)
CIE-LABlab(52.37, 9.37, -45.46)
CIE-LCHlch(52.37, 46.42, 281.65°)
OKLaboklab(59.23% -0.019 -0.1291)
OKLCHoklch(59.23% 0.131 261.6)
XYZxyz(21.3767, 20.4746, 59.3138)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CCB #CBA051
analogous
#51B9CB #517CCB #6351CB
triadic
#517CCB #CB517C #7CCB51
tetradic
#517CCB #CB51B9 #CBA051 #51CB63
square
#517CCB #CB51B9 #CBA051 #51CB63
split-complementary
#517CCB #CB6351 #B9CB51
monochromatic
#25447C #335EAC #517CCB #809FD9 #AFC3E7

Accessibility & contrast

On white

4.12
#517CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#517CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CCB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CCB#FFFFFF#000000##000000
##517CCB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517ccb;
/* rgb */ color: rgb(81, 124, 203);
/* oklch */ color: oklch(59.2% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ca1db',
    500: '#517ccb',
    950: '#000000',
  },
}
SCSS
$custom: #517ccb;
$custom-light: #8ca1db;
$custom-dark: #000000;
JSON
{
  "hex": "#517ccb",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 218.852,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.1305,
    "h": 261.6
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#517CCB
secondary
#D5C3A3
accent
#AA4ADD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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