#5189DF#5189DF

#5189DF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.2% C 0.143 H 258.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5189DF
RGBrgb(81, 137, 223)
HSLhsl(216, 69%, 60%)
HSVhsv(216, 64%, 87%)
CMYKcmyk(63.7%, 38.6%, 0%, 12.5%)
CIE-LABlab(57.04, 8.29, -49.32)
CIE-LCHlch(57.04, 50.01, 279.54°)
OKLaboklab(63.2% -0.028 -0.1403)
OKLCHoklch(63.2% 0.143 258.7)
XYZxyz(25.6535, 24.9659, 73.2647)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189DF #DFA751
analogous
#51D0DF #5189DF #6051DF
triadic
#5189DF #DF5189 #89DF51
tetradic
#5189DF #DF51D0 #DFA751 #51DF60
square
#5189DF #DF51D0 #DFA751 #51DF60
split-complementary
#5189DF #DF6051 #D0DF51
monochromatic
#1C4E99 #2668CD #5189DF #85ACE9 #B8CFF2

Accessibility & contrast

On white

3.50
#5189DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5189DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189DF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189DF#FFFFFF#000000##000000
##5189DF1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#4F83DD
Tritanopia (blue-blind)
#009DA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5189df;
/* rgb */ color: rgb(81, 137, 223);
/* oklch */ color: oklch(63.2% 0.143 258.7);
Tailwind
colors: {
  custom: {
    50: '#8fabe9',
    500: '#5189df',
    950: '#000000',
  },
}
SCSS
$custom: #5189df;
$custom-light: #8fabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5189df",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 216.338,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.14302,
    "h": 258.7
  },
  "luminance": 0.24968
}

Semantic roles & 50–950 ramp

primary
#5189DF
secondary
#E1CCAA
accent
#A63CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5189DF

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

Preview Lab → · Contrast checker → · Palette generator →

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