#5198CF#5198CF

#5198CF is a light, moderate cyan. Relative luminance 0.287; OKLCH L 65.7% C 0.109 H 244.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5198CF
RGBrgb(81, 152, 207)
HSLhsl(206, 57%, 56%)
HSVhsv(206, 61%, 81%)
CMYKcmyk(60.9%, 26.6%, 0%, 18.8%)
CIE-LABlab(60.52, -5.77, -34.89)
CIE-LCHlch(60.52, 35.37, 260.61°)
OKLaboklab(65.68% -0.0479 -0.0981)
OKLCHoklch(65.68% 0.109 244)
XYZxyz(25.8799, 28.7083, 63.1968)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198CF #CF8851
analogous
#51CFC7 #5198CF #5159CF
triadic
#5198CF #CF5198 #98CF51
tetradic
#5198CF #C751CF #CF8851 #59CF51
square
#5198CF #C751CF #CF8851 #59CF51
split-complementary
#5198CF #CF5159 #CFC751
monochromatic
#245982 #317AB2 #5198CF #81B4DC #B1D1E9

Accessibility & contrast

On white

3.11
#5198CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#5198CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198CF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198CF#FFFFFF#000000##000000
##5198CF1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D1
Deuteranopia (green-blind)
#6F8CCE
Tritanopia (blue-blind)
#00A5AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5198cf;
/* rgb */ color: rgb(81, 152, 207);
/* oklch */ color: oklch(65.7% 0.109 244.0);
Tailwind
colors: {
  custom: {
    50: '#8db6de',
    500: '#5198cf',
    950: '#000000',
  },
}
SCSS
$custom: #5198cf;
$custom-light: #8db6de;
$custom-dark: #000000;
JSON
{
  "hex": "#5198cf",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 206.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.10918,
    "h": 244
  },
  "luminance": 0.28711
}

Semantic roles & 50–950 ramp

primary
#5198CF
secondary
#D8BBA4
accent
#8A48E0
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198CF

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

Preview Lab → · Contrast checker → · Palette generator →

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