#5197CB#5197CB

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

Color values

HEX#5197CB
RGBrgb(81, 151, 203)
HSLhsl(206, 54%, 56%)
HSVhsv(206, 60%, 80%)
CMYKcmyk(60.1%, 25.6%, 0%, 20.4%)
CIE-LABlab(60.06, -6.49, -33.37)
CIE-LCHlch(60.06, 34.00, 258.99°)
OKLaboklab(65.25% -0.0481 -0.0937)
OKLCHoklch(65.25% 0.105 242.8)
XYZxyz(25.2354, 28.1920, 60.6000)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CB #CB8551
analogous
#51CBC2 #5197CB #515ACB
triadic
#5197CB #CB5197 #97CB51
tetradic
#5197CB #C251CB #CB8551 #5ACB51
square
#5197CB #C251CB #CB8551 #5ACB51
split-complementary
#5197CB #CB515A #CBC251
monochromatic
#25577C #3378AC #5197CB #80B3D9 #AFCFE7

Accessibility & contrast

On white

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

On black

6.64
#5197CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CB#FFFFFF#000000##000000
##5197CB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5197cb;
/* rgb */ color: rgb(81, 151, 203);
/* oklch */ color: oklch(65.3% 0.105 242.8);
Tailwind
colors: {
  custom: {
    50: '#8cb5db',
    500: '#5197cb',
    950: '#000000',
  },
}
SCSS
$custom: #5197cb;
$custom-light: #8cb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5197cb",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 205.574,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.65254,
    "c": 0.10534,
    "h": 242.8
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

primary
#5197CB
secondary
#D5B8A3
accent
#894ADD
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CB

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

Preview Lab → · Contrast checker → · Palette generator →

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