#5789DA#5789DA

#5789DA is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.2% C 0.134 H 259.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5789DA
RGBrgb(87, 137, 218)
HSLhsl(217, 64%, 60%)
HSVhsv(217, 60%, 85%)
CMYKcmyk(60.1%, 37.2%, 0%, 14.5%)
CIE-LABlab(57.05, 7.71, -46.49)
CIE-LCHlch(57.05, 47.12, 279.41°)
OKLaboklab(63.2% -0.0241 -0.1319)
OKLCHoklch(63.2% 0.134 259.6)
XYZxyz(25.5266, 24.9773, 69.7920)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DA #DAA857
analogous
#57CBDA #5789DA #6757DA
triadic
#5789DA #DA5789 #89DA57
tetradic
#5789DA #DA57CB #DAA857 #57DA67
square
#5789DA #DA57CB #DAA857 #57DA67
split-complementary
#5789DA #DA6757 #CBDA57
monochromatic
#214D96 #2C67C8 #5789DA #89ACE5 #BBCFF0

Accessibility & contrast

On white

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

On black

6.00
#5789DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DA#FFFFFF#000000##000000
##5789DA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DD
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5789da;
/* rgb */ color: rgb(87, 137, 218);
/* oklch */ color: oklch(63.2% 0.134 259.6);
Tailwind
colors: {
  custom: {
    50: '#91abe6',
    500: '#5789da',
    950: '#000000',
  },
}
SCSS
$custom: #5789da;
$custom-light: #91abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5789da",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 218
  },
  "hsl": {
    "h": 217.099,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.13406,
    "h": 259.6
  },
  "luminance": 0.2498
}

Semantic roles & 50–950 ramp

primary
#5789DA
secondary
#E0CCAD
accent
#A841E7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DA

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

Preview Lab → · Contrast checker → · Palette generator →

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