#517BCA#517BCA

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

Color values

HEX#517BCA
RGBrgb(81, 123, 202)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 60%, 79%)
CMYKcmyk(59.9%, 39.1%, 0%, 20.8%)
CIE-LABlab(52.04, 9.64, -45.42)
CIE-LCHlch(52.04, 46.43, 281.99°)
OKLaboklab(58.96% -0.0181 -0.129)
OKLCHoklch(58.96% 0.13 262)
XYZxyz(21.1333, 20.1777, 58.6467)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BCA #CAA051
analogous
#51B7CA #517BCA #6451CA
triadic
#517BCA #CA517B #7BCA51
tetradic
#517BCA #CA51B7 #CAA051 #51CA64
square
#517BCA #CA51B7 #CAA051 #51CA64
split-complementary
#517BCA #CA6451 #B7CA51
monochromatic
#25437B #345DAA #517BCA #809FD8 #AFC2E7

Accessibility & contrast

On white

4.17
#517BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#517BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BCA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BCA#FFFFFF#000000##000000
##517BCA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517bca;
/* rgb */ color: rgb(81, 123, 202);
/* oklch */ color: oklch(59.0% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca0da',
    500: '#517bca',
    950: '#000000',
  },
}
SCSS
$custom: #517bca;
$custom-light: #8ca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#517bca",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 219.174,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.13026,
    "h": 262
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#517BCA
secondary
#D5C3A2
accent
#AA4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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