#5198DA#5198DA

#5198DA is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.2% C 0.122 H 248.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5198DA
RGBrgb(81, 152, 218)
HSLhsl(209, 65%, 59%)
HSVhsv(209, 63%, 85%)
CMYKcmyk(62.8%, 30.3%, 0%, 14.5%)
CIE-LABlab(61.01, -2.18, -40.26)
CIE-LCHlch(61.01, 40.32, 266.90°)
OKLaboklab(66.22% -0.0446 -0.1137)
OKLCHoklch(66.22% 0.122 248.6)
XYZxyz(27.2718, 29.2651, 70.5276)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198DA #DA9351
analogous
#51DAD7 #5198DA #5153DA
triadic
#5198DA #DA5198 #98DA51
tetradic
#5198DA #D751DA #DA9351 #53DA51
square
#5198DA #D751DA #DA9351 #53DA51
split-complementary
#5198DA #DA5153 #DAD751
monochromatic
#1F5A92 #2A7AC4 #5198DA #83B6E5 #B6D4EF

Accessibility & contrast

On white

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

On black

6.85
#5198DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198DA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198DA#FFFFFF#000000##000000
##5198DA1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDD
Deuteranopia (green-blind)
#698DD9
Tritanopia (blue-blind)
#00A8AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5198da;
/* rgb */ color: rgb(81, 152, 218);
/* oklch */ color: oklch(66.2% 0.122 248.6);
Tailwind
colors: {
  custom: {
    50: '#8eb6e5',
    500: '#5198da',
    950: '#000000',
  },
}
SCSS
$custom: #5198da;
$custom-light: #8eb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5198da",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 208.905,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66224,
    "c": 0.12209,
    "h": 248.6
  },
  "luminance": 0.29268
}

Semantic roles & 50–950 ramp

primary
#5198DA
secondary
#DEC2A8
accent
#9140E8
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5198DA

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

Preview Lab → · Contrast checker → · Palette generator →

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