#5198E2#5198E2

#5198E2 is a light, vivid cyan. Relative luminance 0.297; OKLCH L 66.6% C 0.132 H 251.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5198E2
RGBrgb(81, 152, 226)
HSLhsl(211, 71%, 60%)
HSVhsv(211, 64%, 89%)
CMYKcmyk(64.2%, 32.7%, 0%, 11.4%)
CIE-LABlab(61.39, 0.47, -44.12)
CIE-LCHlch(61.39, 44.12, 270.62°)
OKLaboklab(66.64% -0.0423 -0.1249)
OKLCHoklch(66.64% 0.132 251.3)
XYZxyz(28.3440, 29.6940, 76.1745)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E2 #E29B51
analogous
#51E0E2 #5198E2 #5251E2
triadic
#5198E2 #E25198 #98E251
tetradic
#5198E2 #E251E0 #E29B51 #51E252
square
#5198E2 #E251E0 #E29B51 #51E252
split-complementary
#5198E2 #E25251 #E0E251
monochromatic
#1A5B9E #2379D3 #5198E2 #85B7EB #BAD6F3

Accessibility & contrast

On white

3.03
#5198E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5198E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198E2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E2#FFFFFF#000000##000000
##5198E21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198e2;
/* rgb */ color: rgb(81, 152, 226);
/* oklch */ color: oklch(66.6% 0.132 251.3);
Tailwind
colors: {
  custom: {
    50: '#8fb6eb',
    500: '#5198e2',
    950: '#000000',
  },
}
SCSS
$custom: #5198e2;
$custom-light: #8fb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e2",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 210.621,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.13185,
    "h": 251.3
  },
  "luminance": 0.29697
}

Semantic roles & 50–950 ramp

primary
#5198E2
secondary
#E3C8AC
accent
#7512D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E2

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

Preview Lab → · Contrast checker → · Palette generator →

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