#5198FF#5198FF

#5198FF is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.169 H 257.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5198FF
RGBrgb(81, 152, 255)
HSLhsl(216, 100%, 66%)
HSVhsv(216, 68%, 100%)
CMYKcmyk(68.2%, 40.4%, 0%, 0%)
CIE-LABlab(62.86, 10.30, -57.74)
CIE-LCHlch(62.86, 58.65, 280.12°)
OKLaboklab(68.27% -0.0354 -0.1647)
OKLCHoklch(68.27% 0.169 257.9)
XYZxyz(32.6650, 31.4224, 98.9320)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198FF #FFB851
analogous
#51EFFF #5198FF #6151FF
triadic
#5198FF #FF5198 #98FF51
tetradic
#5198FF #FF51EF #FFB851 #51FF61
square
#5198FF #FF51EF #FFB851 #51FF61
split-complementary
#5198FF #FF6151 #EFFF51
monochromatic
#0057D6 #1474FF #5198FF #8EBCFF #CBE0FF

Accessibility & contrast

On white

2.88
#5198FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5198FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5198FF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198FF#FFFFFF#000000##000000
##5198FF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#4C91FD
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5198ff;
/* rgb */ color: rgb(81, 152, 255);
/* oklch */ color: oklch(68.3% 0.169 257.9);
Tailwind
colors: {
  custom: {
    50: '#94b5ff',
    500: '#5198ff',
    950: '#000000',
  },
}
SCSS
$custom: #5198ff;
$custom-light: #94b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5198ff",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 215.517,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.16851,
    "h": 257.9
  },
  "luminance": 0.31426
}

Semantic roles & 50–950 ramp

primary
#5198FF
secondary
#F3DBB9
accent
#8800E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5198FF

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

Preview Lab → · Contrast checker → · Palette generator →

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