#5198BB#5198BB

#5198BB is a light, moderate cyan. Relative luminance 0.278; OKLCH L 64.8% C 0.088 H 231.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5198BB
RGBrgb(81, 152, 187)
HSLhsl(200, 44%, 53%)
HSVhsv(200, 57%, 73%)
CMYKcmyk(56.7%, 18.7%, 0%, 26.7%)
CIE-LABlab(59.70, -12.08, -24.93)
CIE-LCHlch(59.70, 27.71, 244.14°)
OKLaboklab(64.75% -0.0548 -0.0695)
OKLCHoklch(64.75% 0.088 231.8)
XYZxyz(23.5878, 27.7915, 51.1253)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198BB #BB7451
analogous
#51BBA9 #5198BB #5163BB
triadic
#5198BB #BB5198 #98BB51
tetradic
#5198BB #A951BB #BB7451 #63BB51
square
#5198BB #A951BB #BB7451 #63BB51
split-complementary
#5198BB #BB5163 #BBA951
monochromatic
#295469 #3A7795 #5198BB #7DB2CC #A9CCDD

Accessibility & contrast

On white

3.20
#5198BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5198BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198BB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198BB#FFFFFF#000000##000000
##5198BB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8796BD
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5198bb;
/* rgb */ color: rgb(81, 152, 187);
/* oklch */ color: oklch(64.8% 0.088 231.8);
Tailwind
colors: {
  custom: {
    50: '#8ab6cf',
    500: '#5198bb',
    950: '#000000',
  },
}
SCSS
$custom: #5198bb;
$custom-light: #8ab6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5198bb",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 199.811,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.08847,
    "h": 231.8
  },
  "luminance": 0.27794
}

Semantic roles & 50–950 ramp

primary
#5198BB
secondary
#CBAC9D
accent
#7E54D4
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0C1113
muted
#7D8082

Preview Lab

Preview with #5198BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5198BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva