#517FCA#517FCA

#517FCA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.126 H 259.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#517FCA
RGBrgb(81, 127, 202)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 60%, 79%)
CMYKcmyk(59.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(53.16, 7.22, -43.65)
CIE-LCHlch(53.16, 44.24, 279.39°)
OKLaboklab(59.83% -0.0224 -0.1238)
OKLCHoklch(59.83% 0.126 259.7)
XYZxyz(21.6396, 21.1905, 58.8155)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FCA #CA9C51
analogous
#51BBCA #517FCA #5F51CA
triadic
#517FCA #CA517F #7FCA51
tetradic
#517FCA #CA51BB #CA9C51 #51CA5F
square
#517FCA #CA51BB #CA9C51 #51CA5F
split-complementary
#517FCA #CA5F51 #BBCA51
monochromatic
#25467B #3461AA #517FCA #80A2D8 #AFC4E7

Accessibility & contrast

On white

4.01
#517FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#517FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FCA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FCA#FFFFFF#000000##000000
##517FCA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517fca;
/* rgb */ color: rgb(81, 127, 202);
/* oklch */ color: oklch(59.8% 0.126 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ca3da',
    500: '#517fca',
    950: '#000000',
  },
}
SCSS
$custom: #517fca;
$custom-light: #8ca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#517fca",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 217.19,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.12577,
    "h": 259.7
  },
  "luminance": 0.21192
}

Semantic roles & 50–950 ramp

primary
#517FCA
secondary
#D5C1A2
accent
#A54BDD
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #517FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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