#5198E8#5198E8

#5198E8 is a light, vivid cyan. Relative luminance 0.300; OKLCH L 67.0% C 0.139 H 253.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5198E8
RGBrgb(81, 152, 232)
HSLhsl(212, 77%, 61%)
HSVhsv(212, 65%, 91%)
CMYKcmyk(65.1%, 34.5%, 0%, 9%)
CIE-LABlab(61.68, 2.48, -46.98)
CIE-LCHlch(61.68, 47.05, 273.03°)
OKLaboklab(66.96% -0.0407 -0.1332)
OKLCHoklch(66.96% 0.139 253)
XYZxyz(29.1817, 30.0291, 80.5866)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E8 #E8A151
analogous
#51E4E8 #5198E8 #5651E8
triadic
#5198E8 #E85198 #98E851
tetradic
#5198E8 #E851E4 #E8A151 #51E856
square
#5198E8 #E851E4 #E8A151 #51E856
split-complementary
#5198E8 #E85651 #E4E851
monochromatic
#165BA8 #1D78DE #5198E8 #87B8EF #BDD8F6

Accessibility & contrast

On white

3.00
#5198E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#5198E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5198E8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E8#FFFFFF#000000##000000
##5198E81.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEB
Deuteranopia (green-blind)
#608EE6
Tritanopia (blue-blind)
#00ABB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5198e8;
/* rgb */ color: rgb(81, 152, 232);
/* oklch */ color: oklch(67.0% 0.139 253.0);
Tailwind
colors: {
  custom: {
    50: '#90b5ef',
    500: '#5198e8',
    950: '#000000',
  },
}
SCSS
$custom: #5198e8;
$custom-light: #90b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e8",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 211.788,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66964,
    "c": 0.13932,
    "h": 253
  },
  "luminance": 0.30032
}

Semantic roles & 50–950 ramp

primary
#5198E8
secondary
#E7CCAE
accent
#790DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E8

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

Preview Lab → · Contrast checker → · Palette generator →

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