#5198E0#5198E0

#5198E0 is a light, vivid cyan. Relative luminance 0.296; OKLCH L 66.5% C 0.129 H 250.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5198E0
RGBrgb(81, 152, 224)
HSLhsl(210, 70%, 60%)
HSVhsv(210, 64%, 88%)
CMYKcmyk(63.8%, 32.1%, 0%, 12.2%)
CIE-LABlab(61.29, -0.19, -43.16)
CIE-LCHlch(61.29, 43.16, 269.75°)
OKLaboklab(66.54% -0.0429 -0.1221)
OKLCHoklch(66.54% 0.129 250.7)
XYZxyz(28.0712, 29.5849, 74.7376)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E0 #E09951
analogous
#51DFE0 #5198E0 #5251E0
triadic
#5198E0 #E05198 #98E051
tetradic
#5198E0 #E051DF #E09951 #51E052
square
#5198E0 #E051DF #E09951 #51E052
split-complementary
#5198E0 #E05251 #DFE051
monochromatic
#1C5B9B #2579CF #5198E0 #85B7E9 #B9D5F3

Accessibility & contrast

On white

3.04
#5198E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5198E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198E0
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E0#FFFFFF#000000##000000
##5198E01.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE3
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#00A9B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198e0;
/* rgb */ color: rgb(81, 152, 224);
/* oklch */ color: oklch(66.5% 0.129 250.7);
Tailwind
colors: {
  custom: {
    50: '#8fb6ea',
    500: '#5198e0',
    950: '#000000',
  },
}
SCSS
$custom: #5198e0;
$custom-light: #8fb6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e0",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 224
  },
  "hsl": {
    "h": 210.21,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.12939,
    "h": 250.7
  },
  "luminance": 0.29588
}

Semantic roles & 50–950 ramp

primary
#5198E0
secondary
#E2C7AB
accent
#953BED
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E0

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

Preview Lab → · Contrast checker → · Palette generator →

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