#5198CD#5198CD

#5198CD is a light, moderate cyan. Relative luminance 0.286; OKLCH L 65.6% C 0.107 H 243.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5198CD
RGBrgb(81, 152, 205)
HSLhsl(206, 55%, 56%)
HSVhsv(206, 60%, 80%)
CMYKcmyk(60.5%, 25.9%, 0%, 19.6%)
CIE-LABlab(60.44, -6.41, -33.91)
CIE-LCHlch(60.44, 34.51, 259.29°)
OKLaboklab(65.58% -0.0486 -0.0952)
OKLCHoklch(65.58% 0.107 243)
XYZxyz(25.6369, 28.6112, 61.9172)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198CD #CD8651
analogous
#51CDC4 #5198CD #515ACD
triadic
#5198CD #CD5198 #98CD51
tetradic
#5198CD #C451CD #CD8651 #5ACD51
square
#5198CD #C451CD #CD8651 #5ACD51
split-complementary
#5198CD #CD515A #CDC451
monochromatic
#25587F #3279AF #5198CD #81B4DB #B0D0E8

Accessibility & contrast

On white

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

On black

6.72
#5198CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198CD#FFFFFF#000000##000000
##5198CD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199CF
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#00A5AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5198cd;
/* rgb */ color: rgb(81, 152, 205);
/* oklch */ color: oklch(65.6% 0.107 243.0);
Tailwind
colors: {
  custom: {
    50: '#8cb6dc',
    500: '#5198cd',
    950: '#000000',
  },
}
SCSS
$custom: #5198cd;
$custom-light: #8cb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5198cd",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 205.645,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65579,
    "c": 0.10691,
    "h": 243
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#5198CD
secondary
#D7B9A3
accent
#8949DF
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198CD

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

Preview Lab → · Contrast checker → · Palette generator →

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