#5198CE#5198CE

#5198CE is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.6% C 0.108 H 243.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5198CE
RGBrgb(81, 152, 206)
HSLhsl(206, 56%, 56%)
HSVhsv(206, 61%, 81%)
CMYKcmyk(60.7%, 26.2%, 0%, 19.2%)
CIE-LABlab(60.48, -6.09, -34.40)
CIE-LCHlch(60.48, 34.94, 259.96°)
OKLaboklab(65.63% -0.0482 -0.0967)
OKLCHoklch(65.63% 0.108 243.5)
XYZxyz(25.7580, 28.6596, 62.5550)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198CE #CE8751
analogous
#51CEC6 #5198CE #515ACE
triadic
#5198CE #CE5198 #98CE51
tetradic
#5198CE #C651CE #CE8751 #5ACE51
square
#5198CE #C651CE #CE8751 #5ACE51
split-complementary
#5198CE #CE515A #CEC651
monochromatic
#245980 #327AB0 #5198CE #81B4DB #B1D1E9

Accessibility & contrast

On white

3.12
#5198CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5198CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198CE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198CE#FFFFFF#000000##000000
##5198CE1.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)
#8099D0
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#00A5AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5198ce;
/* rgb */ color: rgb(81, 152, 206);
/* oklch */ color: oklch(65.6% 0.108 243.5);
Tailwind
colors: {
  custom: {
    50: '#8cb6dd',
    500: '#5198ce',
    950: '#000000',
  },
}
SCSS
$custom: #5198ce;
$custom-light: #8cb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5198ce",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 205.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65627,
    "c": 0.10804,
    "h": 243.5
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#5198CE
secondary
#D7BAA4
accent
#8A48DF
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198CE

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

Preview Lab → · Contrast checker → · Palette generator →

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