#5198CB#5198CB

#5198CB is a light, moderate cyan. Relative luminance 0.285; OKLCH L 65.5% C 0.105 H 242.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5198CB
RGBrgb(81, 152, 203)
HSLhsl(205, 54%, 56%)
HSVhsv(205, 60%, 80%)
CMYKcmyk(60.1%, 25.1%, 0%, 20.4%)
CIE-LABlab(60.35, -7.05, -32.92)
CIE-LCHlch(60.35, 33.67, 257.91°)
OKLaboklab(65.48% -0.0492 -0.0924)
OKLCHoklch(65.48% 0.105 242)
XYZxyz(25.3970, 28.5152, 60.6539)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198CB #CB8451
analogous
#51CBC1 #5198CB #515BCB
triadic
#5198CB #CB5198 #98CB51
tetradic
#5198CB #C151CB #CB8451 #5BCB51
square
#5198CB #C151CB #CB8451 #5BCB51
split-complementary
#5198CB #CB515B #CBC151
monochromatic
#25587C #3379AC #5198CB #80B4D9 #AFD0E7

Accessibility & contrast

On white

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

On black

6.70
#5198CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198CB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198CB#FFFFFF#000000##000000
##5198CB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#00A5A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5198cb;
/* rgb */ color: rgb(81, 152, 203);
/* oklch */ color: oklch(65.5% 0.105 242.0);
Tailwind
colors: {
  custom: {
    50: '#8cb6db',
    500: '#5198cb',
    950: '#000000',
  },
}
SCSS
$custom: #5198cb;
$custom-light: #8cb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5198cb",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 205.082,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.10469,
    "h": 242
  },
  "luminance": 0.28518
}

Semantic roles & 50–950 ramp

primary
#5198CB
secondary
#D5B8A3
accent
#884ADD
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198CB

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

Preview Lab → · Contrast checker → · Palette generator →

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