#517BBF#517BBF

#517BBF is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.3% C 0.115 H 259.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#517BBF
RGBrgb(81, 123, 191)
HSLhsl(217, 46%, 53%)
HSVhsv(217, 58%, 75%)
CMYKcmyk(57.6%, 35.6%, 0%, 25.1%)
CIE-LABlab(51.47, 5.97, -40.04)
CIE-LCHlch(51.47, 40.48, 278.49°)
OKLaboklab(58.33% -0.0207 -0.1133)
OKLCHoklch(58.33% 0.115 259.6)
XYZxyz(19.8770, 19.6752, 52.0303)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BBF #BF9551
analogous
#51B2BF #517BBF #5E51BF
triadic
#517BBF #BF517B #7BBF51
tetradic
#517BBF #BF51B2 #BF9551 #51BF5E
square
#517BBF #BF51B2 #BF9551 #51BF5E
split-complementary
#517BBF #BF5E51 #B2BF51
monochromatic
#28436D #395E9A #517BBF #7E9DCF #AABFE0

Accessibility & contrast

On white

4.25
#517BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#517BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BBF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BBF#FFFFFF#000000##000000
##517BBF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517bbf;
/* rgb */ color: rgb(81, 123, 191);
/* oklch */ color: oklch(58.3% 0.115 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa0d2',
    500: '#517bbf',
    950: '#000000',
  },
}
SCSS
$custom: #517bbf;
$custom-light: #8aa0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#517bbf",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 217.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.11514,
    "h": 259.6
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#517BBF
secondary
#CEBB9E
accent
#A352D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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