#5189E8#5189E8

#5189E8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.7% C 0.155 H 260.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5189E8
RGBrgb(81, 137, 232)
HSLhsl(218, 77%, 61%)
HSVhsv(218, 65%, 91%)
CMYKcmyk(65.1%, 40.9%, 0%, 9%)
CIE-LABlab(57.52, 11.36, -53.57)
CIE-LCHlch(57.52, 54.76, 281.97°)
OKLaboklab(63.73% -0.0261 -0.1527)
OKLCHoklch(63.73% 0.155 260.3)
XYZxyz(26.8993, 25.4642, 79.8258)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E8 #E8B051
analogous
#51D5E8 #5189E8 #6551E8
triadic
#5189E8 #E85189 #89E851
tetradic
#5189E8 #E851D5 #E8B051 #51E865
square
#5189E8 #E851D5 #E8B051 #51E865
split-complementary
#5189E8 #E86551 #D5E851
monochromatic
#164CA8 #1D65DE #5189E8 #87AEEF #BDD2F6

Accessibility & contrast

On white

3.45
#5189E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5189E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E8#FFFFFF#000000##000000
##5189E81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EC
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5189e8;
/* rgb */ color: rgb(81, 137, 232);
/* oklch */ color: oklch(63.7% 0.155 260.3);
Tailwind
colors: {
  custom: {
    50: '#90aaf0',
    500: '#5189e8',
    950: '#000000',
  },
}
SCSS
$custom: #5189e8;
$custom-light: #90aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e8",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 217.748,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63731,
    "c": 0.15493,
    "h": 260.3
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#5189E8
secondary
#E7D2AE
accent
#8D0DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5189E8

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

Preview Lab → · Contrast checker → · Palette generator →

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