#5197C8#5197C8

#5197C8 is a light, moderate cyan. Relative luminance 0.281; OKLCH L 65.1% C 0.102 H 241.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5197C8
RGBrgb(81, 151, 200)
HSLhsl(205, 52%, 55%)
HSVhsv(205, 60%, 78%)
CMYKcmyk(59.5%, 24.5%, 0%, 21.6%)
CIE-LABlab(59.93, -7.45, -31.89)
CIE-LCHlch(59.93, 32.75, 256.85°)
OKLaboklab(65.11% -0.0491 -0.0894)
OKLCHoklch(65.11% 0.102 241.2)
XYZxyz(24.8814, 28.0504, 58.7354)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197C8 #C88251
analogous
#51C8BE #5197C8 #515BC8
triadic
#5197C8 #C85197 #97C851
tetradic
#5197C8 #BE51C8 #C88251 #5BC851
square
#5197C8 #BE51C8 #C88251 #5BC851
split-complementary
#5197C8 #C8515B #C8BE51
monochromatic
#265779 #3578A7 #5197C8 #80B3D7 #AECFE5

Accessibility & contrast

On white

3.18
#5197C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5197C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197C8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197C8#FFFFFF#000000##000000
##5197C81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8197CA
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#00A3A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5197c8;
/* rgb */ color: rgb(81, 151, 200);
/* oklch */ color: oklch(65.1% 0.102 241.2);
Tailwind
colors: {
  custom: {
    50: '#8cb5d9',
    500: '#5197c8',
    950: '#000000',
  },
}
SCSS
$custom: #5197c8;
$custom-light: #8cb5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5197c8",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 204.706,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.10203,
    "h": 241.2
  },
  "luminance": 0.28053
}

Semantic roles & 50–950 ramp

primary
#5197C8
secondary
#D3B6A1
accent
#874CDB
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5197C8

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

Preview Lab → · Contrast checker → · Palette generator →

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