#5189DD#5189DD

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

Color values

HEX#5189DD
RGBrgb(81, 137, 221)
HSLhsl(216, 67%, 59%)
HSVhsv(216, 63%, 87%)
CMYKcmyk(63.3%, 38%, 0%, 13.3%)
CIE-LABlab(56.94, 7.61, -48.37)
CIE-LCHlch(56.94, 48.96, 278.94°)
OKLaboklab(63.08% -0.0284 -0.1375)
OKLCHoklch(63.08% 0.14 258.3)
XYZxyz(25.3855, 24.8587, 71.8530)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189DD #DDA551
analogous
#51CFDD #5189DD #5F51DD
triadic
#5189DD #DD5189 #89DD51
tetradic
#5189DD #DD51CF #DDA551 #51DD5F
square
#5189DD #DD51CF #DDA551 #51DD5F
split-complementary
#5189DD #DD5F51 #CFDD51
monochromatic
#1D4E96 #2768C9 #5189DD #84ACE7 #B7CEF1

Accessibility & contrast

On white

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

On black

5.97
#5189DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189DD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189DD#FFFFFF#000000##000000
##5189DD1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E0
Deuteranopia (green-blind)
#5083DB
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5189dd;
/* rgb */ color: rgb(81, 137, 221);
/* oklch */ color: oklch(63.1% 0.140 258.3);
Tailwind
colors: {
  custom: {
    50: '#8eabe8',
    500: '#5189dd',
    950: '#000000',
  },
}
SCSS
$custom: #5189dd;
$custom-light: #8eabe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5189dd",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 221
  },
  "hsl": {
    "h": 216,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.14038,
    "h": 258.3
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#5189DD
secondary
#E0CAAA
accent
#A53EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5189DD

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

Preview Lab → · Contrast checker → · Palette generator →

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