#517BBD#517BBD

#517BBD is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.2% C 0.112 H 259.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#517BBD
RGBrgb(81, 123, 189)
HSLhsl(217, 45%, 53%)
HSVhsv(217, 57%, 74%)
CMYKcmyk(57.1%, 34.9%, 0%, 25.9%)
CIE-LABlab(51.37, 5.31, -39.05)
CIE-LCHlch(51.37, 39.41, 277.75°)
OKLaboklab(58.22% -0.0212 -0.1104)
OKLCHoklch(58.22% 0.112 259.1)
XYZxyz(19.6584, 19.5878, 50.8791)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BBD #BD9351
analogous
#51B1BD #517BBD #5D51BD
triadic
#517BBD #BD517B #7BBD51
tetradic
#517BBD #BD51B1 #BD9351 #51BD5D
square
#517BBD #BD51B1 #BD9351 #51BD5D
split-complementary
#517BBD #BD5D51 #B1BD51
monochromatic
#29426B #395E97 #517BBD #7D9DCE #AABEDF

Accessibility & contrast

On white

4.27
#517BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#517BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BBD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BBD#FFFFFF#000000##000000
##517BBD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517bbd;
/* rgb */ color: rgb(81, 123, 189);
/* oklch */ color: oklch(58.2% 0.112 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0d1',
    500: '#517bbd',
    950: '#000000',
  },
}
SCSS
$custom: #517bbd;
$custom-light: #8aa0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#517bbd",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 216.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.1124,
    "h": 259.1
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#517BBD
secondary
#CCBA9E
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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