#5198EB#5198EB

#5198EB is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.1% C 0.143 H 253.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5198EB
RGBrgb(81, 152, 235)
HSLhsl(212, 79%, 62%)
HSVhsv(212, 66%, 92%)
CMYKcmyk(65.5%, 35.3%, 0%, 7.8%)
CIE-LABlab(61.83, 3.49, -48.40)
CIE-LCHlch(61.83, 48.53, 274.13°)
OKLaboklab(67.13% -0.04 -0.1374)
OKLCHoklch(67.13% 0.143 253.8)
XYZxyz(29.6115, 30.2010, 82.8500)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198EB #EBA451
analogous
#51E5EB #5198EB #5751EB
triadic
#5198EB #EB5198 #98EB51
tetradic
#5198EB #EB51E5 #EBA451 #51EB57
square
#5198EB #EB51E5 #EBA451 #51EB57
split-complementary
#5198EB #EB5751 #E5EB51
monochromatic
#145BAE #1A78E5 #5198EB #88B8F1 #BFD9F8

Accessibility & contrast

On white

2.98
#5198EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5198EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5198EB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198EB#FFFFFF#000000##000000
##5198EB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5198eb;
/* rgb */ color: rgb(81, 152, 235);
/* oklch */ color: oklch(67.1% 0.143 253.8);
Tailwind
colors: {
  custom: {
    50: '#90b5f2',
    500: '#5198eb',
    950: '#000000',
  },
}
SCSS
$custom: #5198eb;
$custom-light: #90b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5198eb",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 212.338,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67128,
    "c": 0.14309,
    "h": 253.8
  },
  "luminance": 0.30204
}

Semantic roles & 50–950 ramp

primary
#5198EB
secondary
#E8CEB0
accent
#7B0ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5198EB

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

Preview Lab → · Contrast checker → · Palette generator →

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