#5197CE#5197CE

#5197CE is a light, moderate cyan. Relative luminance 0.283; OKLCH L 65.4% C 0.109 H 244.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5197CE
RGBrgb(81, 151, 206)
HSLhsl(206, 56%, 56%)
HSVhsv(206, 61%, 81%)
CMYKcmyk(60.7%, 26.7%, 0%, 19.2%)
CIE-LABlab(60.19, -5.52, -34.85)
CIE-LCHlch(60.19, 35.29, 260.99°)
OKLaboklab(65.4% -0.0472 -0.098)
OKLCHoklch(65.4% 0.109 244.3)
XYZxyz(25.5964, 28.3364, 62.5011)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CE #CE8851
analogous
#51CEC7 #5197CE #5159CE
triadic
#5197CE #CE5197 #97CE51
tetradic
#5197CE #C751CE #CE8851 #59CE51
square
#5197CE #C751CE #CE8851 #59CE51
split-complementary
#5197CE #CE5159 #CEC751
monochromatic
#245880 #3278B0 #5197CE #81B4DB #B1D0E9

Accessibility & contrast

On white

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

On black

6.67
#5197CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CE#FFFFFF#000000##000000
##5197CE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5197ce;
/* rgb */ color: rgb(81, 151, 206);
/* oklch */ color: oklch(65.4% 0.109 244.3);
Tailwind
colors: {
  custom: {
    50: '#8cb5dd',
    500: '#5197ce',
    950: '#000000',
  },
}
SCSS
$custom: #5197ce;
$custom-light: #8cb5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5197ce",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 206.4,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.10874,
    "h": 244.3
  },
  "luminance": 0.28339
}

Semantic roles & 50–950 ramp

primary
#5197CE
secondary
#D7BAA4
accent
#8B48DF
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CE

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

Preview Lab → · Contrast checker → · Palette generator →

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