#517ECB#517ECB

#517ECB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.128 H 260.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#517ECB
RGBrgb(81, 126, 203)
HSLhsl(218, 54%, 56%)
HSVhsv(218, 60%, 80%)
CMYKcmyk(60.1%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.93, 8.16, -44.58)
CIE-LCHlch(52.93, 45.32, 280.37°)
OKLaboklab(59.66% -0.0211 -0.1265)
OKLCHoklch(59.66% 0.128 260.5)
XYZxyz(21.6299, 20.9809, 59.3982)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ECB #CB9E51
analogous
#51BBCB #517ECB #6151CB
triadic
#517ECB #CB517E #7ECB51
tetradic
#517ECB #CB51BB #CB9E51 #51CB61
square
#517ECB #CB51BB #CB9E51 #51CB61
split-complementary
#517ECB #CB6151 #BBCB51
monochromatic
#25457C #3360AC #517ECB #80A1D9 #AFC4E7

Accessibility & contrast

On white

4.04
#517ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#517ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ECB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ECB#FFFFFF#000000##000000
##517ECB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517ecb;
/* rgb */ color: rgb(81, 126, 203);
/* oklch */ color: oklch(59.7% 0.128 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ca3db',
    500: '#517ecb',
    950: '#000000',
  },
}
SCSS
$custom: #517ecb;
$custom-light: #8ca3db;
$custom-dark: #000000;
JSON
{
  "hex": "#517ecb",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 217.869,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.12824,
    "h": 260.5
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#517ECB
secondary
#D5C3A3
accent
#A74ADD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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