#5198DB#5198DB

#5198DB is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.3% C 0.123 H 249.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5198DB
RGBrgb(81, 152, 219)
HSLhsl(209, 66%, 59%)
HSVhsv(209, 63%, 86%)
CMYKcmyk(63%, 30.6%, 0%, 14.1%)
CIE-LABlab(61.06, -1.85, -40.75)
CIE-LCHlch(61.06, 40.79, 267.40°)
OKLaboklab(66.28% -0.0443 -0.1151)
OKLCHoklch(66.28% 0.123 249)
XYZxyz(27.4030, 29.3176, 71.2188)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198DB #DB9451
analogous
#51DBD9 #5198DB #5153DB
triadic
#5198DB #DB5198 #98DB51
tetradic
#5198DB #D951DB #DB9451 #53DB51
square
#5198DB #D951DB #DB9451 #53DB51
split-complementary
#5198DB #DB5153 #DBD951
monochromatic
#1E5A93 #297AC6 #5198DB #84B6E5 #B6D4F0

Accessibility & contrast

On white

3.06
#5198DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5198DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198DB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198DB#FFFFFF#000000##000000
##5198DB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#688DDA
Tritanopia (blue-blind)
#00A8B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5198db;
/* rgb */ color: rgb(81, 152, 219);
/* oklch */ color: oklch(66.3% 0.123 249.0);
Tailwind
colors: {
  custom: {
    50: '#8eb6e6',
    500: '#5198db',
    950: '#000000',
  },
}
SCSS
$custom: #5198db;
$custom-light: #8eb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5198db",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 209.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66276,
    "c": 0.12329,
    "h": 249
  },
  "luminance": 0.2932
}

Semantic roles & 50–950 ramp

primary
#5198DB
secondary
#DFC3A9
accent
#913FE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5198DB

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

Preview Lab → · Contrast checker → · Palette generator →

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