#5189DC#5189DC

#5189DC is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.0% C 0.139 H 258.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5189DC
RGBrgb(81, 137, 220)
HSLhsl(216, 67%, 59%)
HSVhsv(216, 63%, 86%)
CMYKcmyk(63.2%, 37.7%, 0%, 13.7%)
CIE-LABlab(56.89, 7.27, -47.89)
CIE-LCHlch(56.89, 48.44, 278.64°)
OKLaboklab(63.03% -0.0286 -0.1361)
OKLCHoklch(63.03% 0.139 258.1)
XYZxyz(25.2527, 24.8056, 71.1534)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189DC #DCA451
analogous
#51CFDC #5189DC #5F51DC
triadic
#5189DC #DC5189 #89DC51
tetradic
#5189DC #DC51CF #DCA451 #51DC5F
square
#5189DC #DC51CF #DCA451 #51DC5F
split-complementary
#5189DC #DC5F51 #CFDC51
monochromatic
#1E4E95 #2868C8 #5189DC #84ACE6 #B7CEF0

Accessibility & contrast

On white

3.52
#5189DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5189DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189DC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189DC#FFFFFF#000000##000000
##5189DC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#5183DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5189dc;
/* rgb */ color: rgb(81, 137, 220);
/* oklch */ color: oklch(63.0% 0.139 258.1);
Tailwind
colors: {
  custom: {
    50: '#8eabe7',
    500: '#5189dc',
    950: '#000000',
  },
}
SCSS
$custom: #5189dc;
$custom-light: #8eabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5189dc",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 215.827,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63027,
    "c": 0.13905,
    "h": 258.1
  },
  "luminance": 0.24808
}

Semantic roles & 50–950 ramp

primary
#5189DC
secondary
#E0CAA9
accent
#A53EE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5189DC

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

Preview Lab → · Contrast checker → · Palette generator →

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