#5198C8#5198C8

#5198C8 is a light, moderate cyan. Relative luminance 0.284; OKLCH L 65.3% C 0.101 H 240.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5198C8
RGBrgb(81, 152, 200)
HSLhsl(204, 52%, 55%)
HSVhsv(204, 60%, 78%)
CMYKcmyk(59.5%, 24%, 0%, 21.6%)
CIE-LABlab(60.22, -8.01, -31.44)
CIE-LCHlch(60.22, 32.44, 255.70°)
OKLaboklab(65.34% -0.0502 -0.0881)
OKLCHoklch(65.34% 0.101 240.3)
XYZxyz(25.0430, 28.3736, 58.7893)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198C8 #C88151
analogous
#51C8BD #5198C8 #515CC8
triadic
#5198C8 #C85198 #98C851
tetradic
#5198C8 #BD51C8 #C88151 #5CC851
square
#5198C8 #BD51C8 #C88151 #5CC851
split-complementary
#5198C8 #C8515C #C8BD51
monochromatic
#265779 #3579A7 #5198C8 #80B4D7 #AECFE5

Accessibility & contrast

On white

3.15
#5198C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5198C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198C8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198C8#FFFFFF#000000##000000
##5198C81.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CA
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#00A4A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5198c8;
/* rgb */ color: rgb(81, 152, 200);
/* oklch */ color: oklch(65.3% 0.101 240.3);
Tailwind
colors: {
  custom: {
    50: '#8cb6d9',
    500: '#5198c8',
    950: '#000000',
  },
}
SCSS
$custom: #5198c8;
$custom-light: #8cb6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5198c8",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 200
  },
  "hsl": {
    "h": 204.202,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.10142,
    "h": 240.3
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#5198C8
secondary
#D3B6A1
accent
#864CDB
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5198C8

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

Preview Lab → · Contrast checker → · Palette generator →

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