#5197CA#5197CA

#5197CA is a light, moderate cyan. Relative luminance 0.281; OKLCH L 65.2% C 0.104 H 242.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5197CA
RGBrgb(81, 151, 202)
HSLhsl(205, 53%, 55%)
HSVhsv(205, 60%, 79%)
CMYKcmyk(59.9%, 25.2%, 0%, 20.8%)
CIE-LABlab(60.02, -6.81, -32.88)
CIE-LCHlch(60.02, 33.58, 258.30°)
OKLaboklab(65.21% -0.0484 -0.0923)
OKLCHoklch(65.21% 0.104 242.3)
XYZxyz(25.1167, 28.1445, 59.9745)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197CA #CA8451
analogous
#51CAC0 #5197CA #515ACA
triadic
#5197CA #CA5197 #97CA51
tetradic
#5197CA #C051CA #CA8451 #5ACA51
square
#5197CA #C051CA #CA8451 #5ACA51
split-complementary
#5197CA #CA515A #CAC051
monochromatic
#25577B #3478AA #5197CA #80B3D8 #AFCFE7

Accessibility & contrast

On white

3.17
#5197CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5197CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197CA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197CA#FFFFFF#000000##000000
##5197CA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CC
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#00A4A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5197ca;
/* rgb */ color: rgb(81, 151, 202);
/* oklch */ color: oklch(65.2% 0.104 242.3);
Tailwind
colors: {
  custom: {
    50: '#8cb5da',
    500: '#5197ca',
    950: '#000000',
  },
}
SCSS
$custom: #5197ca;
$custom-light: #8cb5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5197ca",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 205.289,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.65206,
    "c": 0.10423,
    "h": 242.3
  },
  "luminance": 0.28147
}

Semantic roles & 50–950 ramp

primary
#5197CA
secondary
#D5B7A2
accent
#884BDD
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197CA

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

Preview Lab → · Contrast checker → · Palette generator →

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