#5189E2#5189E2

#5189E2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.4% C 0.147 H 259.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5189E2
RGBrgb(81, 137, 226)
HSLhsl(217, 71%, 60%)
HSVhsv(217, 64%, 89%)
CMYKcmyk(64.2%, 39.4%, 0%, 11.4%)
CIE-LABlab(57.20, 9.31, -50.75)
CIE-LCHlch(57.20, 51.59, 280.40°)
OKLaboklab(63.37% -0.0273 -0.1444)
OKLCHoklch(63.37% 0.147 259.3)
XYZxyz(26.0616, 25.1291, 75.4137)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E2 #E2AA51
analogous
#51D1E2 #5189E2 #6251E2
triadic
#5189E2 #E25189 #89E251
tetradic
#5189E2 #E251D1 #E2AA51 #51E262
square
#5189E2 #E251D1 #E2AA51 #51E262
split-complementary
#5189E2 #E26251 #D1E251
monochromatic
#1A4D9E #2367D3 #5189E2 #85ADEB #BAD0F3

Accessibility & contrast

On white

3.48
#5189E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5189E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E2#FFFFFF#000000##000000
##5189E21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5189e2;
/* rgb */ color: rgb(81, 137, 226);
/* oklch */ color: oklch(63.4% 0.147 259.3);
Tailwind
colors: {
  custom: {
    50: '#8faaeb',
    500: '#5189e2',
    950: '#000000',
  },
}
SCSS
$custom: #5189e2;
$custom-light: #8faaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e2",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 216.828,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63374,
    "c": 0.14699,
    "h": 259.3
  },
  "luminance": 0.25132
}

Semantic roles & 50–950 ramp

primary
#5189E2
secondary
#E3CEAC
accent
#8912D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5189E2

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

Preview Lab → · Contrast checker → · Palette generator →

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