#5197CF#5197CF

#5197CF is a light, moderate cyan. Relative luminance 0.284; OKLCH L 65.4% C 0.110 H 244.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5197CF
RGBrgb(81, 151, 207)
HSLhsl(207, 57%, 56%)
HSVhsv(207, 61%, 81%)
CMYKcmyk(60.9%, 27.1%, 0%, 18.8%)
CIE-LABlab(60.24, -5.20, -35.34)
CIE-LCHlch(60.24, 35.72, 261.63°)
OKLaboklab(65.45% -0.0468 -0.0994)
OKLCHoklch(65.45% 0.11 244.8)
XYZxyz(25.7183, 28.3851, 63.1429)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CF #CF8951
analogous
#51CFC8 #5197CF #5158CF
triadic
#5197CF #CF5197 #97CF51
tetradic
#5197CF #C851CF #CF8951 #58CF51
square
#5197CF #C851CF #CF8951 #58CF51
split-complementary
#5197CF #CF5158 #CFC851
monochromatic
#245882 #3179B2 #5197CF #81B4DC #B1D0E9

Accessibility & contrast

On white

3.14
#5197CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5197CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CF#FFFFFF#000000##000000
##5197CF1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5197cf;
/* rgb */ color: rgb(81, 151, 207);
/* oklch */ color: oklch(65.4% 0.110 244.8);
Tailwind
colors: {
  custom: {
    50: '#8cb5de',
    500: '#5197cf',
    950: '#000000',
  },
}
SCSS
$custom: #5197cf;
$custom-light: #8cb5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5197cf",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 206.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.10988,
    "h": 244.8
  },
  "luminance": 0.28388
}

Semantic roles & 50–950 ramp

primary
#5197CF
secondary
#D8BBA4
accent
#8B48E0
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CF

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

Preview Lab → · Contrast checker → · Palette generator →

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