#5197D6#5197D6

#5197D6 is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.8% C 0.118 H 247.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5197D6
RGBrgb(81, 151, 214)
HSLhsl(208, 62%, 58%)
HSVhsv(208, 62%, 84%)
CMYKcmyk(62.1%, 29.4%, 0%, 16.1%)
CIE-LABlab(60.55, -2.92, -38.77)
CIE-LCHlch(60.55, 38.88, 265.69°)
OKLaboklab(65.8% -0.0447 -0.1093)
OKLCHoklch(65.8% 0.118 247.8)
XYZxyz(26.5931, 28.7350, 67.7503)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197D6 #D69051
analogous
#51D6D2 #5197D6 #5155D6
triadic
#5197D6 #D65197 #97D651
tetradic
#5197D6 #D251D6 #D69051 #55D651
square
#5197D6 #D251D6 #D69051 #55D651
split-complementary
#5197D6 #D65155 #D6D251
monochromatic
#21598C #2D79BD #5197D6 #83B5E2 #B4D2ED

Accessibility & contrast

On white

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

On black

6.75
#5197D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197D6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197D6#FFFFFF#000000##000000
##5197D61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D9
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#00A6AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5197d6;
/* rgb */ color: rgb(81, 151, 214);
/* oklch */ color: oklch(65.8% 0.118 247.8);
Tailwind
colors: {
  custom: {
    50: '#8db5e3',
    500: '#5197d6',
    950: '#000000',
  },
}
SCSS
$custom: #5197d6;
$custom-light: #8db5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5197d6",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 214
  },
  "hsl": {
    "h": 208.421,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65796,
    "c": 0.11811,
    "h": 247.8
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#5197D6
secondary
#DCC0A7
accent
#9043E5
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197D6

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

Preview Lab → · Contrast checker → · Palette generator →

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