#5188ED#5188ED

#5188ED is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.8% C 0.163 H 261.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5188ED
RGBrgb(81, 136, 237)
HSLhsl(219, 81%, 62%)
HSVhsv(219, 66%, 93%)
CMYKcmyk(65.8%, 42.6%, 0%, 7.1%)
CIE-LABlab(57.53, 13.67, -56.34)
CIE-LCHlch(57.53, 57.98, 283.64°)
OKLaboklab(63.82% -0.0242 -0.1609)
OKLCHoklch(63.82% 0.163 261.5)
XYZxyz(27.4781, 25.4694, 83.5723)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188ED #EDB651
analogous
#51D6ED #5188ED #6851ED
triadic
#5188ED #ED5188 #88ED51
tetradic
#5188ED #ED51D6 #EDB651 #51ED68
square
#5188ED #ED51D6 #EDB651 #51ED68
split-complementary
#5188ED #ED6851 #D6ED51
monochromatic
#124AB1 #1A62E7 #5188ED #88AEF3 #C0D4F8

Accessibility & contrast

On white

3.45
#5188ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5188ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188ED
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188ED#FFFFFF#000000##000000
##5188ED1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#3F83EB
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5188ed;
/* rgb */ color: rgb(81, 136, 237);
/* oklch */ color: oklch(63.8% 0.163 261.5);
Tailwind
colors: {
  custom: {
    50: '#91aaf3',
    500: '#5188ed',
    950: '#000000',
  },
}
SCSS
$custom: #5188ed;
$custom-light: #91aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5188ed",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 218.846,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.16266,
    "h": 261.5
  },
  "luminance": 0.25472
}

Semantic roles & 50–950 ramp

primary
#5188ED
secondary
#E9D5B0
accent
#9208DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5188ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5188ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva