#517BCB#517BCB

#517BCB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.132 H 262.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#517BCB
RGBrgb(81, 123, 203)
HSLhsl(219, 54%, 56%)
HSVhsv(219, 60%, 80%)
CMYKcmyk(60.1%, 39.4%, 0%, 20.4%)
CIE-LABlab(52.09, 9.98, -45.90)
CIE-LCHlch(52.09, 46.98, 282.27°)
OKLaboklab(59.01% -0.0179 -0.1304)
OKLCHoklch(59.01% 0.132 262.2)
XYZxyz(21.2520, 20.2252, 59.2722)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCB #CBA151
analogous
#51B8CB #517BCB #6451CB
triadic
#517BCB #CB517B #7BCB51
tetradic
#517BCB #CB51B8 #CBA151 #51CB64
square
#517BCB #CB51B8 #CBA151 #51CB64
split-complementary
#517BCB #CB6451 #B8CB51
monochromatic
#25437C #335DAC #517BCB #809FD9 #AFC2E7

Accessibility & contrast

On white

4.16
#517BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#517BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCB#FFFFFF#000000##000000
##517BCB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bcb;
/* rgb */ color: rgb(81, 123, 203);
/* oklch */ color: oklch(59.0% 0.132 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca0db',
    500: '#517bcb',
    950: '#000000',
  },
}
SCSS
$custom: #517bcb;
$custom-light: #8ca0db;
$custom-dark: #000000;
JSON
{
  "hex": "#517bcb",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 219.344,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.13163,
    "h": 262.2
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#517BCB
secondary
#D5C4A3
accent
#AB4ADD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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