#517BD5#517BD5

#517BD5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.145 H 263.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#517BD5
RGBrgb(81, 123, 213)
HSLhsl(221, 61%, 58%)
HSVhsv(221, 62%, 84%)
CMYKcmyk(62%, 42.3%, 0%, 16.5%)
CIE-LABlab(52.64, 13.37, -50.71)
CIE-LCHlch(52.64, 52.44, 284.77°)
OKLaboklab(59.62% -0.0159 -0.1445)
OKLCHoklch(59.62% 0.145 263.7)
XYZxyz(22.4824, 20.7173, 65.7519)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BD5 #D5AB51
analogous
#51BDD5 #517BD5 #6951D5
triadic
#517BD5 #D5517B #7BD551
tetradic
#517BD5 #D551BD #D5AB51 #51D569
square
#517BD5 #D551BD #D5AB51 #51D569
split-complementary
#517BD5 #D56951 #BDD551
monochromatic
#21438A #2D5BBC #517BD5 #82A0E1 #B4C6ED

Accessibility & contrast

On white

4.08
#517BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#517BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BD5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BD5#FFFFFF#000000##000000
##517BD51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D8
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517bd5;
/* rgb */ color: rgb(81, 123, 213);
/* oklch */ color: oklch(59.6% 0.145 263.7);
Tailwind
colors: {
  custom: {
    50: '#8da0e2',
    500: '#517bd5',
    950: '#000000',
  },
}
SCSS
$custom: #517bd5;
$custom-light: #8da0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#517bd5",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 220.909,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.14536,
    "h": 263.7
  },
  "luminance": 0.20719
}

Semantic roles & 50–950 ramp

primary
#517BD5
secondary
#DBCBA6
accent
#B144E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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