#5188D9#5188D9

#5188D9 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.6% C 0.136 H 258.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5188D9
RGBrgb(81, 136, 217)
HSLhsl(216, 64%, 58%)
HSVhsv(216, 63%, 85%)
CMYKcmyk(62.7%, 37.3%, 0%, 14.9%)
CIE-LABlab(56.45, 6.86, -46.90)
CIE-LCHlch(56.45, 47.40, 278.32°)
OKLaboklab(62.64% -0.0283 -0.1332)
OKLCHoklch(62.64% 0.136 258)
XYZxyz(24.7174, 24.3651, 69.0325)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188D9 #D9A251
analogous
#51CCD9 #5188D9 #5E51D9
triadic
#5188D9 #D95188 #88D951
tetradic
#5188D9 #D951CC #D9A251 #51D95E
square
#5188D9 #D951CC #D9A251 #51D95E
split-complementary
#5188D9 #D95E51 #CCD951
monochromatic
#1F4D90 #2A68C2 #5188D9 #83AAE4 #B5CDEF

Accessibility & contrast

On white

3.58
#5188D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5188D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188D9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188D9#FFFFFF#000000##000000
##5188D91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDC
Deuteranopia (green-blind)
#5282D7
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5188d9;
/* rgb */ color: rgb(81, 136, 217);
/* oklch */ color: oklch(62.6% 0.136 258.0);
Tailwind
colors: {
  custom: {
    50: '#8eaae5',
    500: '#5188d9',
    950: '#000000',
  },
}
SCSS
$custom: #5188d9;
$custom-light: #8eaae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5188d9",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 217
  },
  "hsl": {
    "h": 215.735,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.13615,
    "h": 258
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#5188D9
secondary
#DEC8A8
accent
#A441E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5188D9

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

Preview Lab → · Contrast checker → · Palette generator →

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