#5189E4#5189E4

#5189E4 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.5% C 0.150 H 259.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5189E4
RGBrgb(81, 137, 228)
HSLhsl(217, 73%, 61%)
HSVhsv(217, 64%, 89%)
CMYKcmyk(64.5%, 39.9%, 0%, 10.6%)
CIE-LABlab(57.31, 9.99, -51.69)
CIE-LCHlch(57.31, 52.65, 280.94°)
OKLaboklab(63.49% -0.0269 -0.1472)
OKLCHoklch(63.49% 0.15 259.6)
XYZxyz(26.3376, 25.2396, 76.8675)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E4 #E4AC51
analogous
#51D2E4 #5189E4 #6251E4
triadic
#5189E4 #E45189 #89E451
tetradic
#5189E4 #E451D2 #E4AC51 #51E462
square
#5189E4 #E451D2 #E4AC51 #51E462
split-complementary
#5189E4 #E46251 #D2E451
monochromatic
#194DA2 #2166D7 #5189E4 #86ADEC #BBD1F4

Accessibility & contrast

On white

3.47
#5189E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5189E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E4#FFFFFF#000000##000000
##5189E41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#009EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5189e4;
/* rgb */ color: rgb(81, 137, 228);
/* oklch */ color: oklch(63.5% 0.150 259.6);
Tailwind
colors: {
  custom: {
    50: '#8faaed',
    500: '#5189e4',
    950: '#000000',
  },
}
SCSS
$custom: #5189e4;
$custom-light: #8faaed;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e4",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 217.143,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63492,
    "c": 0.14964,
    "h": 259.6
  },
  "luminance": 0.25242
}

Semantic roles & 50–950 ramp

primary
#5189E4
secondary
#E4CFAC
accent
#8A10D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5189E4

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

Preview Lab → · Contrast checker → · Palette generator →

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