#5188E4#5188E4

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

Color values

HEX#5188E4
RGBrgb(81, 136, 228)
HSLhsl(218, 73%, 61%)
HSVhsv(218, 64%, 89%)
CMYKcmyk(64.5%, 40.4%, 0%, 10.6%)
CIE-LABlab(57.03, 10.59, -52.13)
CIE-LCHlch(57.03, 53.19, 281.48°)
OKLaboklab(63.28% -0.0259 -0.1485)
OKLCHoklch(63.28% 0.151 260.1)
XYZxyz(26.1961, 24.9566, 76.8203)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188E4 #E4AD51
analogous
#51D1E4 #5188E4 #6351E4
triadic
#5188E4 #E45188 #88E451
tetradic
#5188E4 #E451D1 #E4AD51 #51E463
square
#5188E4 #E451D1 #E4AD51 #51E463
split-complementary
#5188E4 #E46351 #D1E451
monochromatic
#194CA2 #2165D7 #5188E4 #86ACEC #BBD0F4

Accessibility & contrast

On white

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

On black

5.99
#5188E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188E4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188E4#FFFFFF#000000##000000
##5188E41.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E8
Deuteranopia (green-blind)
#4883E2
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5188e4;
/* rgb */ color: rgb(81, 136, 228);
/* oklch */ color: oklch(63.3% 0.151 260.1);
Tailwind
colors: {
  custom: {
    50: '#8faaed',
    500: '#5188e4',
    950: '#000000',
  },
}
SCSS
$custom: #5188e4;
$custom-light: #8faaed;
$custom-dark: #000000;
JSON
{
  "hex": "#5188e4",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 228
  },
  "hsl": {
    "h": 217.551,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.15073,
    "h": 260.1
  },
  "luminance": 0.24959
}

Semantic roles & 50–950 ramp

primary
#5188E4
secondary
#E4CFAC
accent
#8C10D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5188E4

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

Preview Lab → · Contrast checker → · Palette generator →

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