#517BB6#517BB6

#517BB6 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.8% C 0.103 H 257.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#517BB6
RGBrgb(81, 123, 182)
HSLhsl(215, 41%, 52%)
HSVhsv(215, 55%, 71%)
CMYKcmyk(55.5%, 32.4%, 0%, 28.6%)
CIE-LABlab(51.03, 3.02, -35.56)
CIE-LCHlch(51.03, 35.69, 274.86°)
OKLaboklab(57.84% -0.0231 -0.1002)
OKLCHoklch(57.84% 0.103 257)
XYZxyz(18.9169, 19.2911, 46.9736)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BB6 #B68C51
analogous
#51AEB6 #517BB6 #5A51B6
triadic
#517BB6 #B6517B #7BB651
tetradic
#517BB6 #B651AE #B68C51 #51B65A
square
#517BB6 #B651AE #B68C51 #51B65A
split-complementary
#517BB6 #B65A51 #AEB651
monochromatic
#2A4163 #3C5E8E #517BB6 #7C9CC8 #A7BCDA

Accessibility & contrast

On white

4.32
#517BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#517BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BB6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BB6#FFFFFF#000000##000000
##517BB61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FB9
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#0E8890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517bb6;
/* rgb */ color: rgb(81, 123, 182);
/* oklch */ color: oklch(57.8% 0.103 257.0);
Tailwind
colors: {
  custom: {
    50: '#89a0cc',
    500: '#517bb6',
    950: '#000000',
  },
}
SCSS
$custom: #517bb6;
$custom-light: #89a0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#517bb6",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 182
  },
  "hsl": {
    "h": 215.05,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.10286,
    "h": 257
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#517BB6
secondary
#C8B59B
accent
#9E57D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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