#5188E5#5188E5

#5188E5 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.3% C 0.152 H 260.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5188E5
RGBrgb(81, 136, 229)
HSLhsl(218, 74%, 61%)
HSVhsv(218, 65%, 90%)
CMYKcmyk(64.6%, 40.6%, 0%, 10.2%)
CIE-LABlab(57.09, 10.93, -52.60)
CIE-LCHlch(57.09, 53.72, 281.74°)
OKLaboklab(63.34% -0.0257 -0.1499)
OKLCHoklch(63.34% 0.152 260.3)
XYZxyz(26.3353, 25.0123, 77.5535)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188E5 #E5AE51
analogous
#51D2E5 #5188E5 #6451E5
triadic
#5188E5 #E55188 #88E551
tetradic
#5188E5 #E551D2 #E5AE51 #51E564
square
#5188E5 #E551D2 #E5AE51 #51E564
split-complementary
#5188E5 #E56451 #D2E551
monochromatic
#184CA3 #2065D8 #5188E5 #86ACED #BBD1F5

Accessibility & contrast

On white

3.50
#5188E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5188E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188E5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188E5#FFFFFF#000000##000000
##5188E51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E9
Deuteranopia (green-blind)
#4783E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5188e5;
/* rgb */ color: rgb(81, 136, 229);
/* oklch */ color: oklch(63.3% 0.152 260.3);
Tailwind
colors: {
  custom: {
    50: '#90aaee',
    500: '#5188e5',
    950: '#000000',
  },
}
SCSS
$custom: #5188e5;
$custom-light: #90aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5188e5",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 229
  },
  "hsl": {
    "h": 217.703,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.15207,
    "h": 260.3
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#5188E5
secondary
#E5D0AD
accent
#8C0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5188E5

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

Preview Lab → · Contrast checker → · Palette generator →

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