#5198E5#5198E5

#5198E5 is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.8% C 0.136 H 252.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5198E5
RGBrgb(81, 152, 229)
HSLhsl(211, 74%, 61%)
HSVhsv(211, 65%, 90%)
CMYKcmyk(64.6%, 33.6%, 0%, 10.2%)
CIE-LABlab(61.53, 1.48, -45.55)
CIE-LCHlch(61.53, 45.58, 271.86°)
OKLaboklab(66.8% -0.0415 -0.1291)
OKLCHoklch(66.8% 0.136 252.2)
XYZxyz(28.7592, 29.8601, 78.3615)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E5 #E59E51
analogous
#51E2E5 #5198E5 #5451E5
triadic
#5198E5 #E55198 #98E551
tetradic
#5198E5 #E551E2 #E59E51 #51E554
square
#5198E5 #E551E2 #E59E51 #51E554
split-complementary
#5198E5 #E55451 #E2E551
monochromatic
#185BA3 #2079D8 #5198E5 #86B8ED #BBD7F5

Accessibility & contrast

On white

3.01
#5198E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5198E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198E5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E5#FFFFFF#000000##000000
##5198E51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#00AAB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5198e5;
/* rgb */ color: rgb(81, 152, 229);
/* oklch */ color: oklch(66.8% 0.136 252.2);
Tailwind
colors: {
  custom: {
    50: '#90b6ed',
    500: '#5198e5',
    950: '#000000',
  },
}
SCSS
$custom: #5198e5;
$custom-light: #90b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e5",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 211.216,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.13557,
    "h": 252.2
  },
  "luminance": 0.29863
}

Semantic roles & 50–950 ramp

primary
#5198E5
secondary
#E5CAAD
accent
#770FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E5

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

Preview Lab → · Contrast checker → · Palette generator →

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