#5198E4#5198E4

#5198E4 is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.7% C 0.134 H 251.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5198E4
RGBrgb(81, 152, 228)
HSLhsl(211, 73%, 61%)
HSVhsv(211, 64%, 89%)
CMYKcmyk(64.5%, 33.3%, 0%, 10.6%)
CIE-LABlab(61.49, 1.14, -45.07)
CIE-LCHlch(61.49, 45.09, 271.45°)
OKLaboklab(66.75% -0.0418 -0.1277)
OKLCHoklch(66.75% 0.134 251.9)
XYZxyz(28.6200, 29.8044, 77.6283)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E4 #E49D51
analogous
#51E2E4 #5198E4 #5351E4
triadic
#5198E4 #E45198 #98E451
tetradic
#5198E4 #E451E2 #E49D51 #51E453
square
#5198E4 #E451E2 #E49D51 #51E453
split-complementary
#5198E4 #E45351 #E2E451
monochromatic
#195BA2 #2179D7 #5198E4 #86B7EC #BBD7F4

Accessibility & contrast

On white

3.02
#5198E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5198E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198E4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E4#FFFFFF#000000##000000
##5198E41.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE7
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#00AAB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198e4;
/* rgb */ color: rgb(81, 152, 228);
/* oklch */ color: oklch(66.7% 0.134 251.9);
Tailwind
colors: {
  custom: {
    50: '#8fb6ed',
    500: '#5198e4',
    950: '#000000',
  },
}
SCSS
$custom: #5198e4;
$custom-light: #8fb6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e4",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 211.02,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.13432,
    "h": 251.9
  },
  "luminance": 0.29807
}

Semantic roles & 50–950 ramp

primary
#5198E4
secondary
#E4C9AC
accent
#7610D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E4

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

Preview Lab → · Contrast checker → · Palette generator →

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