#5198CC#5198CC

#5198CC is a light, moderate cyan. Relative luminance 0.286; OKLCH L 65.5% C 0.106 H 242.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5198CC
RGBrgb(81, 152, 204)
HSLhsl(205, 55%, 56%)
HSVhsv(205, 60%, 80%)
CMYKcmyk(60.3%, 25.5%, 0%, 20%)
CIE-LABlab(60.39, -6.73, -33.42)
CIE-LCHlch(60.39, 34.09, 258.61°)
OKLaboklab(65.53% -0.0489 -0.0938)
OKLCHoklch(65.53% 0.106 242.5)
XYZxyz(25.5166, 28.5630, 61.2835)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198CC #CC8551
analogous
#51CCC3 #5198CC #515ACC
triadic
#5198CC #CC5198 #98CC51
tetradic
#5198CC #C351CC #CC8551 #5ACC51
square
#5198CC #C351CC #CC8551 #5ACC51
split-complementary
#5198CC #CC515A #CCC351
monochromatic
#25587E #3379AD #5198CC #80B4DA #B0D0E8

Accessibility & contrast

On white

3.13
#5198CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5198CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198CC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198CC#FFFFFF#000000##000000
##5198CC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CE
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#00A5AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5198cc;
/* rgb */ color: rgb(81, 152, 204);
/* oklch */ color: oklch(65.5% 0.106 242.5);
Tailwind
colors: {
  custom: {
    50: '#8cb6db',
    500: '#5198cc',
    950: '#000000',
  },
}
SCSS
$custom: #5198cc;
$custom-light: #8cb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5198cc",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 205.366,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65531,
    "c": 0.1058,
    "h": 242.5
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#5198CC
secondary
#D6B8A3
accent
#884ADE
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198CC

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

Preview Lab → · Contrast checker → · Palette generator →

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