#517BBC#517BBC

#517BBC is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.2% C 0.111 H 258.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#517BBC
RGBrgb(81, 123, 188)
HSLhsl(216, 44%, 53%)
HSVhsv(216, 57%, 74%)
CMYKcmyk(56.9%, 34.6%, 0%, 26.3%)
CIE-LABlab(51.32, 4.98, -38.55)
CIE-LCHlch(51.32, 38.87, 277.37°)
OKLaboklab(58.16% -0.0215 -0.1089)
OKLCHoklch(58.16% 0.111 258.8)
XYZxyz(19.5502, 19.5445, 50.3094)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BBC #BC9251
analogous
#51B0BC #517BBC #5D51BC
triadic
#517BBC #BC517B #7BBC51
tetradic
#517BBC #BC51B0 #BC9251 #51BC5D
square
#517BBC #BC51B0 #BC9251 #51BC5D
split-complementary
#517BBC #BC5D51 #B0BC51
monochromatic
#29426A #3A5E96 #517BBC #7D9DCD #A9BEDE

Accessibility & contrast

On white

4.28
#517BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#517BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BBC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BBC#FFFFFF#000000##000000
##517BBC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #517bbc;
/* rgb */ color: rgb(81, 123, 188);
/* oklch */ color: oklch(58.2% 0.111 258.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0d0',
    500: '#517bbc',
    950: '#000000',
  },
}
SCSS
$custom: #517bbc;
$custom-light: #8aa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#517bbc",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 216.449,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.11103,
    "h": 258.8
  },
  "luminance": 0.19546
}

Semantic roles & 50–950 ramp

primary
#517BBC
secondary
#CCB99D
accent
#A254D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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