#5188EC#5188EC

#5188EC is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.161 H 261.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5188EC
RGBrgb(81, 136, 236)
HSLhsl(219, 80%, 62%)
HSVhsv(219, 66%, 93%)
CMYKcmyk(65.7%, 42.4%, 0%, 7.5%)
CIE-LABlab(57.47, 13.33, -55.88)
CIE-LCHlch(57.47, 57.44, 283.42°)
OKLaboklab(63.76% -0.0243 -0.1595)
OKLCHoklch(63.76% 0.161 261.3)
XYZxyz(27.3325, 25.4111, 82.8050)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188EC #ECB551
analogous
#51D5EC #5188EC #6851EC
triadic
#5188EC #EC5188 #88EC51
tetradic
#5188EC #EC51D5 #ECB551 #51EC68
square
#5188EC #EC51D5 #ECB551 #51EC68
split-complementary
#5188EC #EC6851 #D5EC51
monochromatic
#134BAF #1A62E6 #5188EC #88AEF2 #BFD3F8

Accessibility & contrast

On white

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

On black

6.08
#5188EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188EC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188EC#FFFFFF#000000##000000
##5188EC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5188ec;
/* rgb */ color: rgb(81, 136, 236);
/* oklch */ color: oklch(63.8% 0.161 261.3);
Tailwind
colors: {
  custom: {
    50: '#91aaf3',
    500: '#5188ec',
    950: '#000000',
  },
}
SCSS
$custom: #5188ec;
$custom-light: #91aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5188ec",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 218.71,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.16135,
    "h": 261.3
  },
  "luminance": 0.25414
}

Semantic roles & 50–950 ramp

primary
#5188EC
secondary
#E9D5B0
accent
#9109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5188EC

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

Preview Lab → · Contrast checker → · Palette generator →

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