#5188E7#5188E7

#5188E7 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.155 H 260.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5188E7
RGBrgb(81, 136, 231)
HSLhsl(218, 76%, 61%)
HSVhsv(218, 65%, 91%)
CMYKcmyk(64.9%, 41.1%, 0%, 9.4%)
CIE-LABlab(57.20, 11.62, -53.54)
CIE-LCHlch(57.20, 54.78, 282.24°)
OKLaboklab(63.46% -0.0253 -0.1526)
OKLCHoklch(63.46% 0.155 260.6)
XYZxyz(26.6162, 25.1246, 79.0327)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188E7 #E7B051
analogous
#51D3E7 #5188E7 #6551E7
triadic
#5188E7 #E75188 #88E751
tetradic
#5188E7 #E751D3 #E7B051 #51E765
square
#5188E7 #E751D3 #E7B051 #51E765
split-complementary
#5188E7 #E76551 #D3E751
monochromatic
#174CA7 #1E64DC #5188E7 #87ADEE #BDD2F6

Accessibility & contrast

On white

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

On black

6.03
#5188E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188E7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188E7#FFFFFF#000000##000000
##5188E71.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5188e7;
/* rgb */ color: rgb(81, 136, 231);
/* oklch */ color: oklch(63.5% 0.155 260.6);
Tailwind
colors: {
  custom: {
    50: '#90aaef',
    500: '#5188e7',
    950: '#000000',
  },
}
SCSS
$custom: #5188e7;
$custom-light: #90aaef;
$custom-dark: #000000;
JSON
{
  "hex": "#5188e7",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 231
  },
  "hsl": {
    "h": 218,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.15471,
    "h": 260.6
  },
  "luminance": 0.25127
}

Semantic roles & 50–950 ramp

primary
#5188E7
secondary
#E6D1AE
accent
#8E0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5188E7

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

Preview Lab → · Contrast checker → · Palette generator →

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