#517BDE#517BDE

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

Color values

HEX#517BDE
RGBrgb(81, 123, 222)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(63.5%, 44.6%, 0%, 12.9%)
CIE-LABlab(53.15, 16.44, -54.96)
CIE-LCHlch(53.15, 57.37, 286.65°)
OKLaboklab(60.18% -0.0143 -0.157)
OKLCHoklch(60.18% 0.158 264.8)
XYZxyz(23.6565, 21.1870, 71.9359)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDE #DEB451
analogous
#51C1DE #517BDE #6E51DE
triadic
#517BDE #DE517B #7BDE51
tetradic
#517BDE #DE51C1 #DEB451 #51DE6E
square
#517BDE #DE51C1 #DEB451 #51DE6E
split-complementary
#517BDE #DE6E51 #C1DE51
monochromatic
#1D4198 #2758CB #517BDE #84A2E8 #B8C9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517BDE#FFFFFF#000000##000000
##517BDE1.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)
#4C86E2
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517bde;
/* rgb */ color: rgb(81, 123, 222);
/* oklch */ color: oklch(60.2% 0.158 264.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0e9',
    500: '#517bde',
    950: '#000000',
  },
}
SCSS
$custom: #517bde;
$custom-light: #8fa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#517bde",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 222.128,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.15763,
    "h": 264.8
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#517BDE
secondary
#E1D1AA
accent
#B73DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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