#517BDB#517BDB

#517BDB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.154 H 264.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#517BDB
RGBrgb(81, 123, 219)
HSLhsl(222, 66%, 59%)
HSVhsv(222, 63%, 86%)
CMYKcmyk(63%, 43.8%, 0%, 14.1%)
CIE-LABlab(52.98, 15.41, -53.55)
CIE-LCHlch(52.98, 55.72, 286.06°)
OKLaboklab(59.99% -0.0148 -0.1528)
OKLCHoklch(59.99% 0.154 264.5)
XYZxyz(23.2580, 21.0276, 69.8372)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDB #DBB151
analogous
#51C0DB #517BDB #6C51DB
triadic
#517BDB #DB517B #7BDB51
tetradic
#517BDB #DB51C0 #DBB151 #51DB6C
square
#517BDB #DB51C0 #DBB151 #51DB6C
split-complementary
#517BDB #DB6C51 #C0DB51
monochromatic
#1E4293 #2959C6 #517BDB #84A1E5 #B6C8F0

Accessibility & contrast

On white

4.03
#517BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#517BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BDB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BDB#FFFFFF#000000##000000
##517BDB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517bdb;
/* rgb */ color: rgb(81, 123, 219);
/* oklch */ color: oklch(60.0% 0.154 264.5);
Tailwind
colors: {
  custom: {
    50: '#8ea0e7',
    500: '#517bdb',
    950: '#000000',
  },
}
SCSS
$custom: #517bdb;
$custom-light: #8ea0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517bdb",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 221.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.15356,
    "h": 264.5
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#517BDB
secondary
#DFCFA9
accent
#B53FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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