#517BDD#517BDD

#517BDD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.156 H 264.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#517BDD
RGBrgb(81, 123, 221)
HSLhsl(222, 67%, 59%)
HSVhsv(222, 63%, 87%)
CMYKcmyk(63.3%, 44.3%, 0%, 13.3%)
CIE-LABlab(53.10, 16.10, -54.49)
CIE-LCHlch(53.10, 56.82, 286.46°)
OKLaboklab(60.11% -0.0145 -0.1556)
OKLCHoklch(60.11% 0.156 264.7)
XYZxyz(23.5229, 21.1336, 71.2321)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDD #DDB351
analogous
#51C1DD #517BDD #6D51DD
triadic
#517BDD #DD517B #7BDD51
tetradic
#517BDD #DD51C1 #DDB351 #51DD6D
square
#517BDD #DD51C1 #DDB351 #51DD6D
split-complementary
#517BDD #DD6D51 #C1DD51
monochromatic
#1D4296 #2758C9 #517BDD #84A2E7 #B7C9F1

Accessibility & contrast

On white

4.02
#517BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#517BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BDD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BDD#FFFFFF#000000##000000
##517BDD1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E1
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517bdd;
/* rgb */ color: rgb(81, 123, 221);
/* oklch */ color: oklch(60.1% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#8fa0e8',
    500: '#517bdd',
    950: '#000000',
  },
}
SCSS
$custom: #517bdd;
$custom-light: #8fa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#517bdd",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 222,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.15627,
    "h": 264.7
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#517BDD
secondary
#E0D0AA
accent
#B63EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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