#5188D5#5188D5

#5188D5 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.4% C 0.131 H 257.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5188D5
RGBrgb(81, 136, 213)
HSLhsl(215, 61%, 58%)
HSVhsv(215, 62%, 84%)
CMYKcmyk(62%, 36.2%, 0%, 16.5%)
CIE-LABlab(56.25, 5.51, -44.98)
CIE-LCHlch(56.25, 45.31, 276.98°)
OKLaboklab(62.41% -0.0293 -0.1275)
OKLCHoklch(62.41% 0.131 257.1)
XYZxyz(24.2035, 24.1595, 66.3256)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188D5 #D59E51
analogous
#51CAD5 #5188D5 #5C51D5
triadic
#5188D5 #D55188 #88D551
tetradic
#5188D5 #D551CA #D59E51 #51D55C
square
#5188D5 #D551CA #D59E51 #51D55C
split-complementary
#5188D5 #D55C51 #CAD551
monochromatic
#214D8A #2D69BC #5188D5 #82AAE1 #B4CBED

Accessibility & contrast

On white

3.60
#5188D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5188D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188D5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188D5#FFFFFF#000000##000000
##5188D51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ED8
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#009AA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5188d5;
/* rgb */ color: rgb(81, 136, 213);
/* oklch */ color: oklch(62.4% 0.131 257.1);
Tailwind
colors: {
  custom: {
    50: '#8daae2',
    500: '#5188d5',
    950: '#000000',
  },
}
SCSS
$custom: #5188d5;
$custom-light: #8daae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5188d5",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 213
  },
  "hsl": {
    "h": 215,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.13087,
    "h": 257.1
  },
  "luminance": 0.24162
}

Semantic roles & 50–950 ramp

primary
#5188D5
secondary
#DBC5A6
accent
#A144E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5188D5

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

Preview Lab → · Contrast checker → · Palette generator →

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