#517FDB#517FDB

#517FDB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.149 H 262.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#517FDB
RGBrgb(81, 127, 219)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63%, 42%, 0%, 14.1%)
CIE-LABlab(54.07, 12.97, -51.81)
CIE-LCHlch(54.07, 53.41, 284.05°)
OKLaboklab(60.83% -0.0188 -0.1477)
OKLCHoklch(60.83% 0.149 262.7)
XYZxyz(23.7644, 22.0404, 70.0059)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FDB #DBAD51
analogous
#51C4DB #517FDB #6851DB
triadic
#517FDB #DB517F #7FDB51
tetradic
#517FDB #DB51C4 #DBAD51 #51DB68
square
#517FDB #DB51C4 #DBAD51 #51DB68
split-complementary
#517FDB #DB6851 #C4DB51
monochromatic
#1E4593 #295DC6 #517FDB #84A4E5 #B6CAF0

Accessibility & contrast

On white

3.88
#517FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#517FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FDB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FDB#FFFFFF#000000##000000
##517FDB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fdb;
/* rgb */ color: rgb(81, 127, 219);
/* oklch */ color: oklch(60.8% 0.149 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ea3e7',
    500: '#517fdb',
    950: '#000000',
  },
}
SCSS
$custom: #517fdb;
$custom-light: #8ea3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517fdb",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 220,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.14886,
    "h": 262.7
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#517FDB
secondary
#DFCDA9
accent
#B03FE9
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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