#517EC9#517EC9

#517EC9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.126 H 260.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#517EC9
RGBrgb(81, 126, 201)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 60%, 79%)
CMYKcmyk(59.7%, 37.3%, 0%, 21.2%)
CIE-LABlab(52.82, 7.49, -43.60)
CIE-LCHlch(52.82, 44.24, 279.74°)
OKLaboklab(59.55% -0.0216 -0.1236)
OKLCHoklch(59.55% 0.126 260.1)
XYZxyz(21.3931, 20.8862, 58.1511)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EC9 #C99C51
analogous
#51BAC9 #517EC9 #6051C9
triadic
#517EC9 #C9517E #7EC951
tetradic
#517EC9 #C951BA #C99C51 #51C960
square
#517EC9 #C951BA #C99C51 #51C960
split-complementary
#517EC9 #C96051 #BAC951
monochromatic
#26457A #3460A9 #517EC9 #80A1D7 #AEC3E6

Accessibility & contrast

On white

4.06
#517EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#517EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EC9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EC9#FFFFFF#000000##000000
##517EC91.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CC
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517ec9;
/* rgb */ color: rgb(81, 126, 201);
/* oklch */ color: oklch(59.6% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3da',
    500: '#517ec9',
    950: '#000000',
  },
}
SCSS
$custom: #517ec9;
$custom-light: #8ba3da;
$custom-dark: #000000;
JSON
{
  "hex": "#517ec9",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 217.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.12552,
    "h": 260.1
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

primary
#517EC9
secondary
#D4C1A2
accent
#A64CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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