#5188E8#5188E8

#5188E8 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.5% C 0.156 H 260.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5188E8
RGBrgb(81, 136, 232)
HSLhsl(218, 77%, 61%)
HSVhsv(218, 65%, 91%)
CMYKcmyk(65.1%, 41.4%, 0%, 9%)
CIE-LABlab(57.25, 11.96, -54.01)
CIE-LCHlch(57.25, 55.32, 282.48°)
OKLaboklab(63.52% -0.0251 -0.154)
OKLCHoklch(63.52% 0.156 260.7)
XYZxyz(26.7578, 25.1813, 79.7786)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188E8 #E8B151
analogous
#51D3E8 #5188E8 #6651E8
triadic
#5188E8 #E85188 #88E851
tetradic
#5188E8 #E851D3 #E8B151 #51E866
square
#5188E8 #E851D3 #E8B151 #51E866
split-complementary
#5188E8 #E86651 #D3E851
monochromatic
#164BA8 #1D64DE #5188E8 #87ADEF #BDD2F6

Accessibility & contrast

On white

3.48
#5188E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5188E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188E8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188E8#FFFFFF#000000##000000
##5188E81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5188e8;
/* rgb */ color: rgb(81, 136, 232);
/* oklch */ color: oklch(63.5% 0.156 260.7);
Tailwind
colors: {
  custom: {
    50: '#90aaf0',
    500: '#5188e8',
    950: '#000000',
  },
}
SCSS
$custom: #5188e8;
$custom-light: #90aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5188e8",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 232
  },
  "hsl": {
    "h": 218.146,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.15604,
    "h": 260.7
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#5188E8
secondary
#E7D2AE
accent
#8E0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5188E8

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

Preview Lab → · Contrast checker → · Palette generator →

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