#5197CD#5197CD

#5197CD is a light, moderate cyan. Relative luminance 0.283; OKLCH L 65.3% C 0.108 H 243.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5197CD
RGBrgb(81, 151, 205)
HSLhsl(206, 55%, 56%)
HSVhsv(206, 60%, 80%)
CMYKcmyk(60.5%, 26.3%, 0%, 19.6%)
CIE-LABlab(60.15, -5.85, -34.36)
CIE-LCHlch(60.15, 34.85, 260.34°)
OKLaboklab(65.35% -0.0475 -0.0966)
OKLCHoklch(65.35% 0.108 243.8)
XYZxyz(25.4753, 28.2879, 61.8634)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CD #CD8751
analogous
#51CDC5 #5197CD #5159CD
triadic
#5197CD #CD5197 #97CD51
tetradic
#5197CD #C551CD #CD8751 #59CD51
square
#5197CD #C551CD #CD8751 #59CD51
split-complementary
#5197CD #CD5159 #CDC551
monochromatic
#25587F #3278AF #5197CD #81B3DB #B0D0E8

Accessibility & contrast

On white

3.15
#5197CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5197CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CD#FFFFFF#000000##000000
##5197CD1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98CF
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#00A4AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5197cd;
/* rgb */ color: rgb(81, 151, 205);
/* oklch */ color: oklch(65.3% 0.108 243.8);
Tailwind
colors: {
  custom: {
    50: '#8cb5dc',
    500: '#5197cd',
    950: '#000000',
  },
}
SCSS
$custom: #5197cd;
$custom-light: #8cb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5197cd",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 206.129,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6535,
    "c": 0.1076,
    "h": 243.8
  },
  "luminance": 0.2829
}

Semantic roles & 50–950 ramp

primary
#5197CD
secondary
#D7BAA3
accent
#8A49DF
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CD

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

Preview Lab → · Contrast checker → · Palette generator →

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