#517ABA#517ABA

#517ABA is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.8% C 0.109 H 259.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#517ABA
RGBrgb(81, 122, 186)
HSLhsl(217, 43%, 52%)
HSVhsv(217, 56%, 73%)
CMYKcmyk(56.5%, 34.4%, 0%, 27.1%)
CIE-LABlab(50.93, 4.93, -38.01)
CIE-LCHlch(50.93, 38.33, 277.39°)
OKLaboklab(57.83% -0.0209 -0.1073)
OKLCHoklch(57.83% 0.109 259)
XYZxyz(19.2127, 19.2120, 49.1407)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ABA #BA9151
analogous
#51AFBA #517ABA #5C51BA
triadic
#517ABA #BA517A #7ABA51
tetradic
#517ABA #BA51AF #BA9151 #51BA5C
square
#517ABA #BA51AF #BA9151 #51BA5C
split-complementary
#517ABA #BA5C51 #AFBA51
monochromatic
#294168 #3A5D93 #517ABA #7D9BCB #A9BDDD

Accessibility & contrast

On white

4.34
#517ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#517ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ABA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ABA#FFFFFF#000000##000000
##517ABA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#028891
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517aba;
/* rgb */ color: rgb(81, 122, 186);
/* oklch */ color: oklch(57.8% 0.109 259.0);
Tailwind
colors: {
  custom: {
    50: '#89a0cf',
    500: '#517aba',
    950: '#000000',
  },
}
SCSS
$custom: #517aba;
$custom-light: #89a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#517aba",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 216.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.10936,
    "h": 259
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#517ABA
secondary
#CAB89D
accent
#A255D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #517ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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