#5789DB#5789DB

#5789DB is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.3% C 0.135 H 259.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5789DB
RGBrgb(87, 137, 219)
HSLhsl(217, 65%, 60%)
HSVhsv(217, 60%, 86%)
CMYKcmyk(60.3%, 37.4%, 0%, 14.1%)
CIE-LABlab(57.10, 8.04, -46.97)
CIE-LCHlch(57.10, 47.65, 279.71°)
OKLaboklab(63.25% -0.0239 -0.1333)
OKLCHoklch(63.25% 0.135 259.8)
XYZxyz(25.6578, 25.0298, 70.4832)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DB #DBA957
analogous
#57CBDB #5789DB #6757DB
triadic
#5789DB #DB5789 #89DB57
tetradic
#5789DB #DB57CB #DBA957 #57DB67
square
#5789DB #DB57CB #DBA957 #57DB67
split-complementary
#5789DB #DB6757 #CBDB57
monochromatic
#204D97 #2B67CA #5789DB #89ACE6 #BCD0F1

Accessibility & contrast

On white

3.50
#5789DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5789DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DB#FFFFFF#000000##000000
##5789DB1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DE
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5789db;
/* rgb */ color: rgb(87, 137, 219);
/* oklch */ color: oklch(63.3% 0.135 259.8);
Tailwind
colors: {
  custom: {
    50: '#91abe6',
    500: '#5789db',
    950: '#000000',
  },
}
SCSS
$custom: #5789db;
$custom-light: #91abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5789db",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 217.273,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.63254,
    "c": 0.1354,
    "h": 259.8
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

primary
#5789DB
secondary
#E0CDAD
accent
#A840E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DB

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

Preview Lab → · Contrast checker → · Palette generator →

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