#517BD3#517BD3

#517BD3 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.143 H 263.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#517BD3
RGBrgb(81, 123, 211)
HSLhsl(221, 60%, 57%)
HSVhsv(221, 62%, 83%)
CMYKcmyk(61.6%, 41.7%, 0%, 17.3%)
CIE-LABlab(52.53, 12.69, -49.75)
CIE-LCHlch(52.53, 51.34, 284.30°)
OKLaboklab(59.49% -0.0163 -0.1417)
OKLCHoklch(59.49% 0.143 263.4)
XYZxyz(22.2301, 20.6164, 64.4233)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BD3 #D3A951
analogous
#51BCD3 #517BD3 #6851D3
triadic
#517BD3 #D3517B #7BD351
tetradic
#517BD3 #D351BC #D3A951 #51D368
square
#517BD3 #D351BC #D3A951 #51D368
split-complementary
#517BD3 #D36851 #BCD351
monochromatic
#224387 #2F5BB8 #517BD3 #82A0DF #B3C5EC

Accessibility & contrast

On white

4.10
#517BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#517BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BD3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BD3#FFFFFF#000000##000000
##517BD31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D6
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517bd3;
/* rgb */ color: rgb(81, 123, 211);
/* oklch */ color: oklch(59.5% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da0e1',
    500: '#517bd3',
    950: '#000000',
  },
}
SCSS
$custom: #517bd3;
$custom-light: #8da0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#517bd3",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 220.615,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.14262,
    "h": 263.4
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#517BD3
secondary
#DAC9A6
accent
#B045E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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