#5188DD#5188DD

#5188DD is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.9% C 0.141 H 258.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5188DD
RGBrgb(81, 136, 221)
HSLhsl(216, 67%, 59%)
HSVhsv(216, 63%, 87%)
CMYKcmyk(63.3%, 38.5%, 0%, 13.3%)
CIE-LABlab(56.66, 8.21, -48.81)
CIE-LCHlch(56.66, 49.50, 279.55°)
OKLaboklab(62.87% -0.0274 -0.1388)
OKLCHoklch(62.87% 0.141 258.8)
XYZxyz(25.2440, 24.5757, 71.8058)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188DD #DDA651
analogous
#51CEDD #5188DD #6051DD
triadic
#5188DD #DD5188 #88DD51
tetradic
#5188DD #DD51CE #DDA651 #51DD60
square
#5188DD #DD51CE #DDA651 #51DD60
split-complementary
#5188DD #DD6051 #CEDD51
monochromatic
#1D4D96 #2767C9 #5188DD #84ABE7 #B7CEF1

Accessibility & contrast

On white

3.55
#5188DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5188DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188DD#FFFFFF#000000##000000
##5188DD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5188dd;
/* rgb */ color: rgb(81, 136, 221);
/* oklch */ color: oklch(62.9% 0.141 258.8);
Tailwind
colors: {
  custom: {
    50: '#8eaae8',
    500: '#5188dd',
    950: '#000000',
  },
}
SCSS
$custom: #5188dd;
$custom-light: #8eaae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5188dd",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 221
  },
  "hsl": {
    "h": 216.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.14145,
    "h": 258.8
  },
  "luminance": 0.24578
}

Semantic roles & 50–950 ramp

primary
#5188DD
secondary
#E0CBAA
accent
#A63EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5188DD

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

Preview Lab → · Contrast checker → · Palette generator →

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