#5188DE#5188DE

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

Color values

HEX#5188DE
RGBrgb(81, 136, 222)
HSLhsl(217, 68%, 59%)
HSVhsv(217, 64%, 87%)
CMYKcmyk(63.5%, 38.7%, 0%, 12.9%)
CIE-LABlab(56.71, 8.55, -49.29)
CIE-LCHlch(56.71, 50.02, 279.84°)
OKLaboklab(62.93% -0.0272 -0.1402)
OKLCHoklch(62.93% 0.143 259)
XYZxyz(25.3776, 24.6292, 72.5096)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188DE #DEA751
analogous
#51CEDE #5188DE #6151DE
triadic
#5188DE #DE5188 #88DE51
tetradic
#5188DE #DE51CE #DEA751 #51DE61
square
#5188DE #DE51CE #DEA751 #51DE61
split-complementary
#5188DE #DE6151 #CEDE51
monochromatic
#1D4D98 #2767CB #5188DE #84ABE8 #B8CEF2

Accessibility & contrast

On white

3.54
#5188DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5188DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188DE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188DE#FFFFFF#000000##000000
##5188DE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE1
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5188de;
/* rgb */ color: rgb(81, 136, 222);
/* oklch */ color: oklch(62.9% 0.143 259.0);
Tailwind
colors: {
  custom: {
    50: '#8faae9',
    500: '#5188de',
    950: '#000000',
  },
}
SCSS
$custom: #5188de;
$custom-light: #8faae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5188de",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 222
  },
  "hsl": {
    "h": 216.596,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.14277,
    "h": 259
  },
  "luminance": 0.24632
}

Semantic roles & 50–950 ramp

primary
#5188DE
secondary
#E1CBAA
accent
#A73DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5188DE

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

Preview Lab → · Contrast checker → · Palette generator →

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