#517BB1#517BB1

#517BB1 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.096 H 255.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#517BB1
RGBrgb(81, 123, 177)
HSLhsl(214, 38%, 51%)
HSVhsv(214, 54%, 69%)
CMYKcmyk(54.2%, 30.5%, 0%, 30.6%)
CIE-LABlab(50.79, 1.40, -33.04)
CIE-LCHlch(50.79, 33.07, 272.43°)
OKLaboklab(57.58% -0.0245 -0.0929)
OKLCHoklch(57.58% 0.096 255.2)
XYZxyz(18.4094, 19.0881, 44.3007)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BB1 #B18751
analogous
#51ABB1 #517BB1 #5751B1
triadic
#517BB1 #B1517B #7BB151
tetradic
#517BB1 #B151AB #B18751 #51B157
square
#517BB1 #B151AB #B18751 #51B157
split-complementary
#517BB1 #B15751 #ABB151
monochromatic
#2A415E #3D5E88 #517BB1 #7B9BC4 #A6BBD7

Accessibility & contrast

On white

4.36
#517BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#517BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BB1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BB1#FFFFFF#000000##000000
##517BB11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB3
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#19878E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #517bb1;
/* rgb */ color: rgb(81, 123, 177);
/* oklch */ color: oklch(57.6% 0.096 255.2);
Tailwind
colors: {
  custom: {
    50: '#88a0c8',
    500: '#517bb1',
    950: '#000000',
  },
}
SCSS
$custom: #517bb1;
$custom-light: #88a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#517bb1",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 213.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.09611,
    "h": 255.2
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#517BB1
secondary
#C4B29A
accent
#9B5ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #517BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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