#517BDF#517BDF

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

Color values

HEX#517BDF
RGBrgb(81, 123, 223)
HSLhsl(222, 69%, 60%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(63.7%, 44.8%, 0%, 12.5%)
CIE-LABlab(53.21, 16.78, -55.43)
CIE-LCHlch(53.21, 57.91, 286.84°)
OKLaboklab(60.24% -0.0141 -0.1584)
OKLCHoklch(60.24% 0.159 264.9)
XYZxyz(23.7910, 21.2408, 72.6438)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDF #DFB551
analogous
#51C2DF #517BDF #6E51DF
triadic
#517BDF #DF517B #7BDF51
tetradic
#517BDF #DF51C2 #DFB551 #51DF6E
square
#517BDF #DF51C2 #DFB551 #51DF6E
split-complementary
#517BDF #DF6E51 #C2DF51
monochromatic
#1C4199 #2657CD #517BDF #85A2E9 #B8C9F2

Accessibility & contrast

On white

4.00
#517BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#517BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BDF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BDF#FFFFFF#000000##000000
##517BDF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517bdf;
/* rgb */ color: rgb(81, 123, 223);
/* oklch */ color: oklch(60.2% 0.159 264.9);
Tailwind
colors: {
  custom: {
    50: '#8fa0e9',
    500: '#517bdf',
    950: '#000000',
  },
}
SCSS
$custom: #517bdf;
$custom-light: #8fa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#517bdf",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 222.254,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.15899,
    "h": 264.9
  },
  "luminance": 0.21243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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