#5188DC#5188DC

#5188DC is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.8% C 0.140 H 258.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5188DC
RGBrgb(81, 136, 220)
HSLhsl(216, 67%, 59%)
HSVhsv(216, 63%, 86%)
CMYKcmyk(63.2%, 38.2%, 0%, 13.7%)
CIE-LABlab(56.61, 7.87, -48.33)
CIE-LCHlch(56.61, 48.97, 279.25°)
OKLaboklab(62.81% -0.0276 -0.1374)
OKLCHoklch(62.81% 0.14 258.6)
XYZxyz(25.1112, 24.5226, 71.1063)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188DC #DCA551
analogous
#51CEDC #5188DC #6051DC
triadic
#5188DC #DC5188 #88DC51
tetradic
#5188DC #DC51CE #DCA551 #51DC60
square
#5188DC #DC51CE #DCA551 #51DC60
split-complementary
#5188DC #DC6051 #CEDC51
monochromatic
#1E4D95 #2867C8 #5188DC #84ABE6 #B7CEF0

Accessibility & contrast

On white

3.56
#5188DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5188DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188DC#FFFFFF#000000##000000
##5188DC1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5188dc;
/* rgb */ color: rgb(81, 136, 220);
/* oklch */ color: oklch(62.8% 0.140 258.6);
Tailwind
colors: {
  custom: {
    50: '#8eaae7',
    500: '#5188dc',
    950: '#000000',
  },
}
SCSS
$custom: #5188dc;
$custom-light: #8eaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5188dc",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 216.259,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6281,
    "c": 0.14012,
    "h": 258.6
  },
  "luminance": 0.24525
}

Semantic roles & 50–950 ramp

primary
#5188DC
secondary
#E0CAA9
accent
#A63EE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5188DC

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

Preview Lab → · Contrast checker → · Palette generator →

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