#517BC2#517BC2

#517BC2 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.5% C 0.119 H 260.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#517BC2
RGBrgb(81, 123, 194)
HSLhsl(218, 48%, 54%)
HSVhsv(218, 58%, 76%)
CMYKcmyk(58.2%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.62, 6.97, -41.51)
CIE-LCHlch(51.62, 42.10, 279.53°)
OKLaboklab(58.5% -0.02 -0.1176)
OKLCHoklch(58.5% 0.119 260.4)
XYZxyz(20.2105, 19.8086, 53.7869)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC2 #C29851
analogous
#51B4C2 #517BC2 #6051C2
triadic
#517BC2 #C2517B #7BC251
tetradic
#517BC2 #C251B4 #C29851 #51C260
square
#517BC2 #C251B4 #C29851 #51C260
split-complementary
#517BC2 #C26051 #B4C251
monochromatic
#284371 #375E9E #517BC2 #7E9DD2 #ACC0E2

Accessibility & contrast

On white

4.23
#517BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#517BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC2#FFFFFF#000000##000000
##517BC21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4F76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517bc2;
/* rgb */ color: rgb(81, 123, 194);
/* oklch */ color: oklch(58.5% 0.119 260.4);
Tailwind
colors: {
  custom: {
    50: '#8aa0d5',
    500: '#517bc2',
    950: '#000000',
  },
}
SCSS
$custom: #517bc2;
$custom-light: #8aa0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc2",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 217.699,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.11925,
    "h": 260.4
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#517BC2
secondary
#D0BE9F
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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