#5198EA#5198EA

#5198EA is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.142 H 253.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5198EA
RGBrgb(81, 152, 234)
HSLhsl(212, 78%, 62%)
HSVhsv(212, 65%, 92%)
CMYKcmyk(65.4%, 35%, 0%, 8.2%)
CIE-LABlab(61.78, 3.16, -47.93)
CIE-LCHlch(61.78, 48.03, 273.77°)
OKLaboklab(67.07% -0.0402 -0.136)
OKLCHoklch(67.07% 0.142 253.5)
XYZxyz(29.4674, 30.1434, 82.0912)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198EA #EAA351
analogous
#51E5EA #5198EA #5751EA
triadic
#5198EA #EA5198 #98EA51
tetradic
#5198EA #EA51E5 #EAA351 #51EA57
square
#5198EA #EA51E5 #EAA351 #51EA57
split-complementary
#5198EA #EA5751 #E5EA51
monochromatic
#155BAC #1B78E2 #5198EA #88B8F1 #BED9F7

Accessibility & contrast

On white

2.99
#5198EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5198EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5198EA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198EA#FFFFFF#000000##000000
##5198EA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#5E8FE8
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5198ea;
/* rgb */ color: rgb(81, 152, 234);
/* oklch */ color: oklch(67.1% 0.142 253.5);
Tailwind
colors: {
  custom: {
    50: '#90b5f1',
    500: '#5198ea',
    950: '#000000',
  },
}
SCSS
$custom: #5198ea;
$custom-light: #90b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5198ea",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 212.157,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.14183,
    "h": 253.5
  },
  "luminance": 0.30146
}

Semantic roles & 50–950 ramp

primary
#5198EA
secondary
#E8CDAF
accent
#7A0BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5198EA

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

Preview Lab → · Contrast checker → · Palette generator →

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