#5197B2#5197B2

#5197B2 is a light, moderate cyan. Relative luminance 0.271; OKLCH L 64.1% C 0.081 H 225.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5197B2
RGBrgb(81, 151, 178)
HSLhsl(197, 39%, 51%)
HSVhsv(197, 54%, 70%)
CMYKcmyk(54.5%, 15.2%, 0%, 30.2%)
CIE-LABlab(59.06, -14.27, -20.82)
CIE-LCHlch(59.06, 25.24, 235.57°)
OKLaboklab(64.13% -0.057 -0.0578)
OKLCHoklch(64.13% 0.081 225.4)
XYZxyz(22.4928, 27.0949, 46.1554)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197B2 #B26C51
analogous
#51B29C #5197B2 #5166B2
triadic
#5197B2 #B25197 #97B251
tetradic
#5197B2 #9C51B2 #B26C51 #66B251
square
#5197B2 #9C51B2 #B26C51 #66B251
split-complementary
#5197B2 #B25166 #B29C51
monochromatic
#2A505F #3D7489 #5197B2 #7BB0C5 #A6CAD8

Accessibility & contrast

On white

3.27
#5197B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5197B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197B2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197B2#FFFFFF#000000##000000
##5197B21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B3
Deuteranopia (green-blind)
#7A8AB2
Tritanopia (blue-blind)
#009FA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5197b2;
/* rgb */ color: rgb(81, 151, 178);
/* oklch */ color: oklch(64.1% 0.081 225.4);
Tailwind
colors: {
  custom: {
    50: '#89b5c9',
    500: '#5197b2',
    950: '#000000',
  },
}
SCSS
$custom: #5197b2;
$custom-light: #89b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5197b2",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 196.701,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.08119,
    "h": 225.4
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#5197B2
secondary
#C5A69A
accent
#7A59CF
background
#F8FBFC
surface
#F0F6F8
border
#CBD0D1
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #5197B2

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

Preview Lab → · Contrast checker → · Palette generator →

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