#5197D7#5197D7

#5197D7 is a light, moderate cyan. Relative luminance 0.288; OKLCH L 65.8% C 0.119 H 248.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5197D7
RGBrgb(81, 151, 215)
HSLhsl(209, 63%, 58%)
HSVhsv(209, 62%, 84%)
CMYKcmyk(62.3%, 29.8%, 0%, 15.7%)
CIE-LABlab(60.59, -2.59, -39.25)
CIE-LCHlch(60.59, 39.34, 266.22°)
OKLaboklab(65.85% -0.0444 -0.1107)
OKLCHoklch(65.85% 0.119 248.1)
XYZxyz(26.7212, 28.7863, 68.4249)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197D7 #D79151
analogous
#51D7D4 #5197D7 #5154D7
triadic
#5197D7 #D75197 #97D751
tetradic
#5197D7 #D451D7 #D79151 #54D751
square
#5197D7 #D451D7 #D79151 #54D751
split-complementary
#5197D7 #D75154 #D7D451
monochromatic
#20598D #2C79BF #5197D7 #83B5E2 #B5D2EE

Accessibility & contrast

On white

3.11
#5197D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5197D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197D7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197D7#FFFFFF#000000##000000
##5197D71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#698CD6
Tritanopia (blue-blind)
#00A6AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5197d7;
/* rgb */ color: rgb(81, 151, 215);
/* oklch */ color: oklch(65.8% 0.119 248.1);
Tailwind
colors: {
  custom: {
    50: '#8eb5e3',
    500: '#5197d7',
    950: '#000000',
  },
}
SCSS
$custom: #5197d7;
$custom-light: #8eb5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5197d7",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 215
  },
  "hsl": {
    "h": 208.657,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65847,
    "c": 0.1193,
    "h": 248.1
  },
  "luminance": 0.28789
}

Semantic roles & 50–950 ramp

primary
#5197D7
secondary
#DDC1A7
accent
#9042E6
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5197D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva