#517CDB#517CDB

#517CDB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.152 H 264.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#517CDB
RGBrgb(81, 124, 219)
HSLhsl(221, 66%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.25, 14.80, -53.12)
CIE-LCHlch(53.25, 55.14, 285.57°)
OKLaboklab(60.2% -0.0158 -0.1515)
OKLCHoklch(60.2% 0.152 264)
XYZxyz(23.3827, 21.2770, 69.8787)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CDB #DBB051
analogous
#51C1DB #517CDB #6B51DB
triadic
#517CDB #DB517C #7CDB51
tetradic
#517CDB #DB51C1 #DBB051 #51DB6B
square
#517CDB #DB51C1 #DBB051 #51DB6B
split-complementary
#517CDB #DB6B51 #C1DB51
monochromatic
#1E4393 #295AC6 #517CDB #84A2E5 #B6C8F0

Accessibility & contrast

On white

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

On black

5.26
#517CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CDB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CDB#FFFFFF#000000##000000
##517CDB1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517cdb;
/* rgb */ color: rgb(81, 124, 219);
/* oklch */ color: oklch(60.2% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#8ea1e7',
    500: '#517cdb',
    950: '#000000',
  },
}
SCSS
$custom: #517cdb;
$custom-light: #8ea1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517cdb",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 221.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60198,
    "c": 0.15237,
    "h": 264
  },
  "luminance": 0.21279
}

Semantic roles & 50–950 ramp

primary
#517CDB
secondary
#DFCEA9
accent
#B43FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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