#517BB7#517BB7

#517BB7 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.9% C 0.104 H 257.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#517BB7
RGBrgb(81, 123, 183)
HSLhsl(215, 41%, 52%)
HSVhsv(215, 56%, 72%)
CMYKcmyk(55.7%, 32.8%, 0%, 28.2%)
CIE-LABlab(51.07, 3.35, -36.06)
CIE-LCHlch(51.07, 36.22, 275.30°)
OKLaboklab(57.89% -0.0228 -0.1017)
OKLCHoklch(57.89% 0.104 257.4)
XYZxyz(19.0206, 19.3326, 47.5198)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BB7 #B78D51
analogous
#51AEB7 #517BB7 #5A51B7
triadic
#517BB7 #B7517B #7BB751
tetradic
#517BB7 #B751AE #B78D51 #51B75A
square
#517BB7 #B751AE #B78D51 #51B75A
split-complementary
#517BB7 #B75A51 #AEB751
monochromatic
#294264 #3B5E8F #517BB7 #7C9CC9 #A8BDDB

Accessibility & contrast

On white

4.31
#517BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#517BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BB7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BB7#FFFFFF#000000##000000
##517BB71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FBA
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#0B8891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517bb7;
/* rgb */ color: rgb(81, 123, 183);
/* oklch */ color: oklch(57.9% 0.104 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a0cd',
    500: '#517bb7',
    950: '#000000',
  },
}
SCSS
$custom: #517bb7;
$custom-light: #89a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#517bb7",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 215.294,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.10421,
    "h": 257.4
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#517BB7
secondary
#C8B69C
accent
#9F57D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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