#5197D4#5197D4

#5197D4 is a light, moderate cyan. Relative luminance 0.286; OKLCH L 65.7% C 0.116 H 247.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5197D4
RGBrgb(81, 151, 212)
HSLhsl(208, 60%, 57%)
HSVhsv(208, 62%, 83%)
CMYKcmyk(61.8%, 28.8%, 0%, 16.9%)
CIE-LABlab(60.46, -3.57, -37.79)
CIE-LCHlch(60.46, 37.96, 264.60°)
OKLaboklab(65.7% -0.0453 -0.1065)
OKLCHoklch(65.7% 0.116 247)
XYZxyz(26.3392, 28.6335, 66.4133)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197D4 #D48E51
analogous
#51D4D0 #5197D4 #5155D4
triadic
#5197D4 #D45197 #97D451
tetradic
#5197D4 #D051D4 #D48E51 #55D451
square
#5197D4 #D051D4 #D48E51 #55D451
split-complementary
#5197D4 #D45155 #D4D051
monochromatic
#225989 #2E79BA #5197D4 #82B4E0 #B3D2EC

Accessibility & contrast

On white

3.12
#5197D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5197D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197D4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197D4#FFFFFF#000000##000000
##5197D41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D7
Deuteranopia (green-blind)
#6B8CD3
Tritanopia (blue-blind)
#00A5AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5197d4;
/* rgb */ color: rgb(81, 151, 212);
/* oklch */ color: oklch(65.7% 0.116 247.0);
Tailwind
colors: {
  custom: {
    50: '#8db5e1',
    500: '#5197d4',
    950: '#000000',
  },
}
SCSS
$custom: #5197d4;
$custom-light: #8db5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5197d4",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 212
  },
  "hsl": {
    "h": 207.939,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.11572,
    "h": 247
  },
  "luminance": 0.28636
}

Semantic roles & 50–950 ramp

primary
#5197D4
secondary
#DBBFA6
accent
#8E44E4
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5197D4

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

Preview Lab → · Contrast checker → · Palette generator →

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