#5189DE#5189DE

#5189DE is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.1% C 0.142 H 258.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5189DE
RGBrgb(81, 137, 222)
HSLhsl(216, 68%, 59%)
HSVhsv(216, 64%, 87%)
CMYKcmyk(63.5%, 38.3%, 0%, 12.9%)
CIE-LABlab(56.99, 7.95, -48.85)
CIE-LCHlch(56.99, 49.49, 279.24°)
OKLaboklab(63.14% -0.0282 -0.1389)
OKLCHoklch(63.14% 0.142 258.5)
XYZxyz(25.5191, 24.9122, 72.5568)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189DE #DEA651
analogous
#51D0DE #5189DE #6051DE
triadic
#5189DE #DE5189 #89DE51
tetradic
#5189DE #DE51D0 #DEA651 #51DE60
square
#5189DE #DE51D0 #DEA651 #51DE60
split-complementary
#5189DE #DE6051 #D0DE51
monochromatic
#1D4E98 #2768CB #5189DE #84ACE8 #B8CFF2

Accessibility & contrast

On white

3.51
#5189DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5189DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189DE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189DE#FFFFFF#000000##000000
##5189DE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5189de;
/* rgb */ color: rgb(81, 137, 222);
/* oklch */ color: oklch(63.1% 0.142 258.5);
Tailwind
colors: {
  custom: {
    50: '#8fabe9',
    500: '#5189de',
    950: '#000000',
  },
}
SCSS
$custom: #5189de;
$custom-light: #8fabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5189de",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 216.17,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.14169,
    "h": 258.5
  },
  "luminance": 0.24915
}

Semantic roles & 50–950 ramp

primary
#5189DE
secondary
#E1CBAA
accent
#A63DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5189DE

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

Preview Lab → · Contrast checker → · Palette generator →

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