#5197BF#5197BF

#5197BF is a light, moderate cyan. Relative luminance 0.276; OKLCH L 64.7% C 0.093 H 235.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5197BF
RGBrgb(81, 151, 191)
HSLhsl(202, 46%, 53%)
HSVhsv(202, 58%, 75%)
CMYKcmyk(57.6%, 20.9%, 0%, 25.1%)
CIE-LABlab(59.56, -10.29, -27.40)
CIE-LCHlch(59.56, 29.27, 249.41°)
OKLaboklab(64.7% -0.0522 -0.0765)
OKLCHoklch(64.7% 0.093 235.7)
XYZxyz(23.8604, 27.6420, 53.3581)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197BF #BF7951
analogous
#51BFB0 #5197BF #5160BF
triadic
#5197BF #BF5197 #97BF51
tetradic
#5197BF #B051BF #BF7951 #60BF51
square
#5197BF #B051BF #BF7951 #60BF51
split-complementary
#5197BF #BF5160 #BFB051
monochromatic
#28546D #39779A #5197BF #7EB2CF #AACCE0

Accessibility & contrast

On white

3.22
#5197BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5197BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197BF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197BF#FFFFFF#000000##000000
##5197BF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8496C1
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#00A1A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5197bf;
/* rgb */ color: rgb(81, 151, 191);
/* oklch */ color: oklch(64.7% 0.093 235.7);
Tailwind
colors: {
  custom: {
    50: '#8bb5d2',
    500: '#5197bf',
    950: '#000000',
  },
}
SCSS
$custom: #5197bf;
$custom-light: #8bb5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5197bf",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 201.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.64695,
    "c": 0.09264,
    "h": 235.7
  },
  "luminance": 0.27644
}

Semantic roles & 50–950 ramp

primary
#5197BF
secondary
#CEAF9E
accent
#8252D6
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0D1114
muted
#7D8082

Preview Lab

Preview with #5197BF

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

Preview Lab → · Contrast checker → · Palette generator →

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