#5789F0#5789F0

#5789F0 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.163 H 263.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5789F0
RGBrgb(87, 137, 240)
HSLhsl(220, 84%, 64%)
HSVhsv(220, 64%, 94%)
CMYKcmyk(63.7%, 42.9%, 0%, 5.9%)
CIE-LABlab(58.23, 15.08, -56.87)
CIE-LCHlch(58.23, 58.83, 284.85°)
OKLaboklab(64.49% -0.0197 -0.1623)
OKLCHoklch(64.49% 0.163 263.1)
XYZxyz(28.5988, 26.2061, 85.9723)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789F0 #F0BE57
analogous
#57D6F0 #5789F0 #7257F0
triadic
#5789F0 #F05789 #89F057
tetradic
#5789F0 #F057D6 #F0BE57 #57F072
square
#5789F0 #F057D6 #F0BE57 #57F072
split-complementary
#5789F0 #F07257 #D6F057
monochromatic
#1149BC #1F62EB #5789F0 #8FB0F5 #C7D8FA

Accessibility & contrast

On white

3.36
#5789F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5789F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789F0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789F0#FFFFFF#000000##000000
##5789F01.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#4085EE
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5789f0;
/* rgb */ color: rgb(87, 137, 240);
/* oklch */ color: oklch(64.5% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#94aaf5',
    500: '#5789f0',
    950: '#000000',
  },
}
SCSS
$custom: #5789f0;
$custom-light: #94aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5789f0",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 240
  },
  "hsl": {
    "h": 220.392,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.16348,
    "h": 263.1
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

primary
#5789F0
secondary
#ECDBB7
accent
#9905E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789F0

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

Preview Lab → · Contrast checker → · Palette generator →

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