#517BD2#517BD2

#517BD2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.141 H 263.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#517BD2
RGBrgb(81, 123, 210)
HSLhsl(220, 59%, 57%)
HSVhsv(220, 61%, 82%)
CMYKcmyk(61.4%, 41.4%, 0%, 17.6%)
CIE-LABlab(52.47, 12.35, -49.27)
CIE-LCHlch(52.47, 50.80, 284.07°)
OKLaboklab(59.43% -0.0165 -0.1403)
OKLCHoklch(59.43% 0.141 263.3)
XYZxyz(22.1051, 20.5664, 63.7651)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BD2 #D2A851
analogous
#51BCD2 #517BD2 #6851D2
triadic
#517BD2 #D2517B #7BD251
tetradic
#517BD2 #D251BC #D2A851 #51D268
square
#517BD2 #D251BC #D2A851 #51D268
split-complementary
#517BD2 #D26851 #BCD251
monochromatic
#234386 #2F5BB7 #517BD2 #82A0DF #B2C5EB

Accessibility & contrast

On white

4.11
#517BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#517BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BD2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BD2#FFFFFF#000000##000000
##517BD21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D5
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #517bd2;
/* rgb */ color: rgb(81, 123, 210);
/* oklch */ color: oklch(59.4% 0.141 263.3);
Tailwind
colors: {
  custom: {
    50: '#8da0e0',
    500: '#517bd2',
    950: '#000000',
  },
}
SCSS
$custom: #517bd2;
$custom-light: #8da0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#517bd2",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 220.465,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.14125,
    "h": 263.3
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#517BD2
secondary
#DAC9A5
accent
#AF46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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