#5789DE#5789DE

#5789DE is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.4% C 0.139 H 260.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5789DE
RGBrgb(87, 137, 222)
HSLhsl(218, 67%, 61%)
HSVhsv(218, 61%, 87%)
CMYKcmyk(60.8%, 38.3%, 0%, 12.9%)
CIE-LABlab(57.26, 9.04, -48.40)
CIE-LCHlch(57.26, 49.24, 280.57°)
OKLaboklab(63.42% -0.0232 -0.1375)
OKLCHoklch(63.42% 0.139 260.4)
XYZxyz(26.0563, 25.1892, 72.5819)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DE #DEAC57
analogous
#57CCDE #5789DE #6857DE
triadic
#5789DE #DE5789 #89DE57
tetradic
#5789DE #DE57CC #DEAC57 #57DE68
square
#5789DE #DE57CC #DEAC57 #57DE68
split-complementary
#5789DE #DE6857 #CCDE57
monochromatic
#1F4D9C #2966CF #5789DE #8AADE8 #BDD1F2

Accessibility & contrast

On white

3.48
#5789DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5789DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DE#FFFFFF#000000##000000
##5789DE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#5284DC
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5789de;
/* rgb */ color: rgb(87, 137, 222);
/* oklch */ color: oklch(63.4% 0.139 260.4);
Tailwind
colors: {
  custom: {
    50: '#91abe9',
    500: '#5789de',
    950: '#000000',
  },
}
SCSS
$custom: #5789de;
$custom-light: #91abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5789de",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 217.778,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63424,
    "c": 0.13941,
    "h": 260.4
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#5789DE
secondary
#E2CFAF
accent
#8B16CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DE

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

Preview Lab → · Contrast checker → · Palette generator →

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