#5198D7#5198D7

#5198D7 is a light, moderate cyan. Relative luminance 0.291; OKLCH L 66.1% C 0.118 H 247.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5198D7
RGBrgb(81, 152, 215)
HSLhsl(208, 63%, 58%)
HSVhsv(208, 62%, 84%)
CMYKcmyk(62.3%, 29.3%, 0%, 15.7%)
CIE-LABlab(60.88, -3.16, -38.81)
CIE-LCHlch(60.88, 38.93, 265.34°)
OKLaboklab(66.07% -0.0454 -0.1094)
OKLCHoklch(66.07% 0.118 247.4)
XYZxyz(26.8828, 29.1095, 68.4788)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198D7 #D79051
analogous
#51D7D3 #5198D7 #5155D7
triadic
#5198D7 #D75198 #98D751
tetradic
#5198D7 #D351D7 #D79051 #55D751
square
#5198D7 #D351D7 #D79051 #55D751
split-complementary
#5198D7 #D75155 #D7D351
monochromatic
#205A8D #2C7ABF #5198D7 #83B5E2 #B5D3EE

Accessibility & contrast

On white

3.08
#5198D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5198D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198D7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198D7#FFFFFF#000000##000000
##5198D71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9ADA
Deuteranopia (green-blind)
#6A8DD6
Tritanopia (blue-blind)
#00A7AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5198d7;
/* rgb */ color: rgb(81, 152, 215);
/* oklch */ color: oklch(66.1% 0.118 247.4);
Tailwind
colors: {
  custom: {
    50: '#8eb6e3',
    500: '#5198d7',
    950: '#000000',
  },
}
SCSS
$custom: #5198d7;
$custom-light: #8eb6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5198d7",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 215
  },
  "hsl": {
    "h": 208.209,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.66072,
    "c": 0.11849,
    "h": 247.4
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#5198D7
secondary
#DDC0A7
accent
#8F42E6
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198D7

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

Preview Lab → · Contrast checker → · Palette generator →

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