#5198E3#5198E3

#5198E3 is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.7% C 0.133 H 251.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5198E3
RGBrgb(81, 152, 227)
HSLhsl(211, 72%, 60%)
HSVhsv(211, 64%, 89%)
CMYKcmyk(64.3%, 33%, 0%, 11%)
CIE-LABlab(61.44, 0.81, -44.60)
CIE-LCHlch(61.44, 44.60, 271.04°)
OKLaboklab(66.7% -0.042 -0.1263)
OKLCHoklch(66.7% 0.133 251.6)
XYZxyz(28.4816, 29.7490, 76.8993)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198E3 #E39C51
analogous
#51E1E3 #5198E3 #5351E3
triadic
#5198E3 #E35198 #98E351
tetradic
#5198E3 #E351E1 #E39C51 #51E353
square
#5198E3 #E351E1 #E39C51 #51E353
split-complementary
#5198E3 #E35351 #E1E351
monochromatic
#1A5BA0 #2279D5 #5198E3 #86B7EB #BAD6F4

Accessibility & contrast

On white

3.02
#5198E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#5198E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198E3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198E3#FFFFFF#000000##000000
##5198E31.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE6
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198e3;
/* rgb */ color: rgb(81, 152, 227);
/* oklch */ color: oklch(66.7% 0.133 251.6);
Tailwind
colors: {
  custom: {
    50: '#8fb6ec',
    500: '#5198e3',
    950: '#000000',
  },
}
SCSS
$custom: #5198e3;
$custom-light: #8fb6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5198e3",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 227
  },
  "hsl": {
    "h": 210.822,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.13309,
    "h": 251.6
  },
  "luminance": 0.29752
}

Semantic roles & 50–950 ramp

primary
#5198E3
secondary
#E4C9AC
accent
#7511D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5198E3

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

Preview Lab → · Contrast checker → · Palette generator →

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