#5189DB#5189DB

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

Color values

HEX#5189DB
RGBrgb(81, 137, 219)
HSLhsl(216, 66%, 59%)
HSVhsv(216, 63%, 86%)
CMYKcmyk(63%, 37.4%, 0%, 14.1%)
CIE-LABlab(56.83, 6.93, -47.41)
CIE-LCHlch(56.83, 47.92, 278.32°)
OKLaboklab(62.97% -0.0289 -0.1347)
OKLCHoklch(62.97% 0.138 257.9)
XYZxyz(25.1206, 24.7528, 70.4580)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189DB #DBA351
analogous
#51CEDB #5189DB #5E51DB
triadic
#5189DB #DB5189 #89DB51
tetradic
#5189DB #DB51CE #DBA351 #51DB5E
square
#5189DB #DB51CE #DBA351 #51DB5E
split-complementary
#5189DB #DB5E51 #CEDB51
monochromatic
#1E4E93 #2969C6 #5189DB #84ABE5 #B6CEF0

Accessibility & contrast

On white

3.53
#5189DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5189DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189DB#FFFFFF#000000##000000
##5189DB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#009CA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5189db;
/* rgb */ color: rgb(81, 137, 219);
/* oklch */ color: oklch(63.0% 0.138 257.9);
Tailwind
colors: {
  custom: {
    50: '#8eabe6',
    500: '#5189db',
    950: '#000000',
  },
}
SCSS
$custom: #5189db;
$custom-light: #8eabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5189db",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 215.652,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.13773,
    "h": 257.9
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#5189DB
secondary
#DFC9A9
accent
#A43FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5189DB

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

Preview Lab → · Contrast checker → · Palette generator →

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