#5789FD#5789FD

#5789FD is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.3% C 0.181 H 264.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5789FD
RGBrgb(87, 137, 253)
HSLhsl(222, 98%, 67%)
HSVhsv(222, 66%, 99%)
CMYKcmyk(65.6%, 45.8%, 0%, 0.8%)
CIE-LABlab(58.98, 19.49, -62.84)
CIE-LCHlch(58.98, 65.80, 287.24°)
OKLaboklab(65.31% -0.0176 -0.1798)
OKLCHoklch(65.31% 0.181 264.4)
XYZxyz(30.5996, 27.0064, 96.5096)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789FD #FDCB57
analogous
#57DCFD #5789FD #7857FD
triadic
#5789FD #FD5789 #89FD57
tetradic
#5789FD #FD57DC #FDCB57 #57FD78
square
#5789FD #FD57DC #FDCB57 #57FD78
split-complementary
#5789FD #FD7857 #DCFD57
monochromatic
#0343D7 #1B5FFC #5789FD #93B3FE #D0DEFE

Accessibility & contrast

On white

3.28
#5789FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5789FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789FD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789FD#FFFFFF#000000##000000
##5789FD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5789fd;
/* rgb */ color: rgb(87, 137, 253);
/* oklch */ color: oklch(65.3% 0.181 264.4);
Tailwind
colors: {
  custom: {
    50: '#96aaff',
    500: '#5789fd',
    950: '#000000',
  },
}
SCSS
$custom: #5789fd;
$custom-light: #96aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5789fd",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 221.928,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65308,
    "c": 0.18071,
    "h": 264.4
  },
  "luminance": 0.27009
}

Semantic roles & 50–950 ramp

primary
#5789FD
secondary
#F3E3BD
accent
#A000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5789FD

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

Preview Lab → · Contrast checker → · Palette generator →

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