#5198D5#5198D5

#5198D5 is a light, moderate cyan. Relative luminance 0.290; OKLCH L 66.0% C 0.116 H 246.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5198D5
RGBrgb(81, 152, 213)
HSLhsl(208, 61%, 58%)
HSVhsv(208, 62%, 84%)
CMYKcmyk(62%, 28.6%, 0%, 16.5%)
CIE-LABlab(60.79, -3.82, -37.83)
CIE-LCHlch(60.79, 38.02, 264.24°)
OKLaboklab(65.97% -0.046 -0.1066)
OKLCHoklch(65.97% 0.116 246.6)
XYZxyz(26.6274, 29.0073, 67.1336)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198D5 #D58E51
analogous
#51D5D0 #5198D5 #5156D5
triadic
#5198D5 #D55198 #98D551
tetradic
#5198D5 #D051D5 #D58E51 #56D551
square
#5198D5 #D051D5 #D58E51 #56D551
split-complementary
#5198D5 #D55156 #D5D051
monochromatic
#215A8A #2D7ABC #5198D5 #82B5E1 #B4D2ED

Accessibility & contrast

On white

3.09
#5198D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5198D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198D5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198D5#FFFFFF#000000##000000
##5198D51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9AD8
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#00A7AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5198d5;
/* rgb */ color: rgb(81, 152, 213);
/* oklch */ color: oklch(66.0% 0.116 246.6);
Tailwind
colors: {
  custom: {
    50: '#8db6e2',
    500: '#5198d5',
    950: '#000000',
  },
}
SCSS
$custom: #5198d5;
$custom-light: #8db6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5198d5",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 213
  },
  "hsl": {
    "h": 207.727,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.11612,
    "h": 246.6
  },
  "luminance": 0.2901
}

Semantic roles & 50–950 ramp

primary
#5198D5
secondary
#DBBFA6
accent
#8E44E4
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198D5

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

Preview Lab → · Contrast checker → · Palette generator →

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