#517CBE#517CBE

#517CBE is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.5% C 0.113 H 258.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#517CBE
RGBrgb(81, 124, 190)
HSLhsl(216, 46%, 53%)
HSVhsv(216, 57%, 75%)
CMYKcmyk(57.4%, 34.7%, 0%, 25.5%)
CIE-LABlab(51.70, 5.04, -39.09)
CIE-LCHlch(51.70, 39.42, 277.35°)
OKLaboklab(58.49% -0.0221 -0.1105)
OKLCHoklch(58.49% 0.113 258.7)
XYZxyz(19.8920, 19.8807, 51.4943)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CBE #BE9351
analogous
#51B3BE #517CBE #5C51BE
triadic
#517CBE #BE517C #7CBE51
tetradic
#517CBE #BE51B3 #BE9351 #51BE5C
square
#517CBE #BE51B3 #BE9351 #51BE5C
split-complementary
#517CBE #BE5C51 #B3BE51
monochromatic
#28436C #395F99 #517CBE #7E9ECF #AABFDF

Accessibility & contrast

On white

4.22
#517CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#517CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CBE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CBE#FFFFFF#000000##000000
##517CBE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517cbe;
/* rgb */ color: rgb(81, 124, 190);
/* oklch */ color: oklch(58.5% 0.113 258.7);
Tailwind
colors: {
  custom: {
    50: '#8aa1d2',
    500: '#517cbe',
    950: '#000000',
  },
}
SCSS
$custom: #517cbe;
$custom-light: #8aa1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#517cbe",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 216.33,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.11269,
    "h": 258.7
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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