#5197CC#5197CC

#5197CC is a light, moderate cyan. Relative luminance 0.282; OKLCH L 65.3% C 0.106 H 243.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5197CC
RGBrgb(81, 151, 204)
HSLhsl(206, 55%, 56%)
HSVhsv(206, 60%, 80%)
CMYKcmyk(60.3%, 26%, 0%, 20%)
CIE-LABlab(60.10, -6.17, -33.87)
CIE-LCHlch(60.10, 34.42, 259.68°)
OKLaboklab(65.3% -0.0478 -0.0951)
OKLCHoklch(65.3% 0.106 243.3)
XYZxyz(25.3550, 28.2398, 61.2297)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CC #CC8651
analogous
#51CCC4 #5197CC #5159CC
triadic
#5197CC #CC5197 #97CC51
tetradic
#5197CC #C451CC #CC8651 #59CC51
square
#5197CC #C451CC #CC8651 #59CC51
split-complementary
#5197CC #CC5159 #CCC451
monochromatic
#25577E #3378AD #5197CC #80B3DA #B0D0E8

Accessibility & contrast

On white

3.16
#5197CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5197CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CC#FFFFFF#000000##000000
##5197CC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#00A4A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5197cc;
/* rgb */ color: rgb(81, 151, 204);
/* oklch */ color: oklch(65.3% 0.106 243.3);
Tailwind
colors: {
  custom: {
    50: '#8cb5db',
    500: '#5197cc',
    950: '#000000',
  },
}
SCSS
$custom: #5197cc;
$custom-light: #8cb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5197cc",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 205.854,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.10646,
    "h": 243.3
  },
  "luminance": 0.28242
}

Semantic roles & 50–950 ramp

primary
#5197CC
secondary
#D6B9A3
accent
#8A4ADE
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CC

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

Preview Lab → · Contrast checker → · Palette generator →

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