#5197DA#5197DA

#5197DA is a light, vivid cyan. Relative luminance 0.289; OKLCH L 66.0% C 0.123 H 249.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5197DA
RGBrgb(81, 151, 218)
HSLhsl(209, 65%, 59%)
HSVhsv(209, 63%, 85%)
CMYKcmyk(62.8%, 30.7%, 0%, 14.5%)
CIE-LABlab(60.73, -1.60, -40.71)
CIE-LCHlch(60.73, 40.74, 267.74°)
OKLaboklab(66% -0.0435 -0.115)
OKLCHoklch(66% 0.123 249.3)
XYZxyz(27.1102, 28.9419, 70.4737)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197DA #DA9451
analogous
#51DAD8 #5197DA #5152DA
triadic
#5197DA #DA5197 #97DA51
tetradic
#5197DA #D851DA #DA9451 #52DA51
square
#5197DA #D851DA #DA9451 #52DA51
split-complementary
#5197DA #DA5152 #DAD851
monochromatic
#1F5A92 #2A79C4 #5197DA #83B5E5 #B6D3EF

Accessibility & contrast

On white

3.09
#5197DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5197DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197DA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197DA#FFFFFF#000000##000000
##5197DA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADD
Deuteranopia (green-blind)
#678DD9
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5197da;
/* rgb */ color: rgb(81, 151, 218);
/* oklch */ color: oklch(66.0% 0.123 249.3);
Tailwind
colors: {
  custom: {
    50: '#8eb5e5',
    500: '#5197da',
    950: '#000000',
  },
}
SCSS
$custom: #5197da;
$custom-light: #8eb5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5197da",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 209.343,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.12293,
    "h": 249.3
  },
  "luminance": 0.28945
}

Semantic roles & 50–950 ramp

primary
#5197DA
secondary
#DEC3A8
accent
#9240E8
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5197DA

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

Preview Lab → · Contrast checker → · Palette generator →

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