#5789F5#5789F5

#5789F5 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.170 H 263.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5789F5
RGBrgb(87, 137, 245)
HSLhsl(221, 89%, 65%)
HSVhsv(221, 64%, 96%)
CMYKcmyk(64.5%, 44.1%, 0%, 3.9%)
CIE-LABlab(58.52, 16.78, -59.18)
CIE-LCHlch(58.52, 61.51, 285.83°)
OKLaboklab(64.8% -0.0188 -0.1691)
OKLCHoklch(64.8% 0.17 263.7)
XYZxyz(29.3518, 26.5073, 89.9381)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789F5 #F5C357
analogous
#57D8F5 #5789F5 #7457F5
triadic
#5789F5 #F55789 #89F557
tetradic
#5789F5 #F557D8 #F5C357 #57F574
square
#5789F5 #F557D8 #F5C357 #57F574
split-complementary
#5789F5 #F57457 #D8F557
monochromatic
#0C47C6 #1D60F2 #5789F5 #91B2F8 #CBDAFC

Accessibility & contrast

On white

3.33
#5789F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5789F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789F5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789F5#FFFFFF#000000##000000
##5789F51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5789f5;
/* rgb */ color: rgb(87, 137, 245);
/* oklch */ color: oklch(64.8% 0.170 263.7);
Tailwind
colors: {
  custom: {
    50: '#95aaf9',
    500: '#5789f5',
    950: '#000000',
  },
}
SCSS
$custom: #5789f5;
$custom-light: #95aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5789f5",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 221.013,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.17012,
    "h": 263.7
  },
  "luminance": 0.2651
}

Semantic roles & 50–950 ramp

primary
#5789F5
secondary
#EFDEB9
accent
#9D00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5789F5

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

Preview Lab → · Contrast checker → · Palette generator →

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