#5188E6#5188E6

#5188E6 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.4% C 0.153 H 260.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5188E6
RGBrgb(81, 136, 230)
HSLhsl(218, 75%, 61%)
HSVhsv(218, 65%, 90%)
CMYKcmyk(64.8%, 40.9%, 0%, 9.8%)
CIE-LABlab(57.14, 11.27, -53.07)
CIE-LCHlch(57.14, 54.25, 281.99°)
OKLaboklab(63.4% -0.0255 -0.1513)
OKLCHoklch(63.4% 0.153 260.4)
XYZxyz(26.4754, 25.0683, 78.2910)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188E6 #E6AF51
analogous
#51D3E6 #5188E6 #6451E6
triadic
#5188E6 #E65188 #88E651
tetradic
#5188E6 #E651D3 #E6AF51 #51E664
square
#5188E6 #E651D3 #E6AF51 #51E664
split-complementary
#5188E6 #E66451 #D3E651
monochromatic
#184CA5 #1F64DA #5188E6 #87ADEE #BCD1F5

Accessibility & contrast

On white

3.49
#5188E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5188E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188E6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188E6#FFFFFF#000000##000000
##5188E61.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EA
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5188e6;
/* rgb */ color: rgb(81, 136, 230);
/* oklch */ color: oklch(63.4% 0.153 260.4);
Tailwind
colors: {
  custom: {
    50: '#90aaee',
    500: '#5188e6',
    950: '#000000',
  },
}
SCSS
$custom: #5188e6;
$custom-light: #90aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5188e6",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 230
  },
  "hsl": {
    "h": 217.852,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63399,
    "c": 0.15339,
    "h": 260.4
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#5188E6
secondary
#E5D1AD
accent
#8D0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5188E6

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

Preview Lab → · Contrast checker → · Palette generator →

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