#5789EF#5789EF

#5789EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.4% C 0.162 H 263.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5789EF
RGBrgb(87, 137, 239)
HSLhsl(220, 83%, 64%)
HSVhsv(220, 64%, 94%)
CMYKcmyk(63.6%, 42.7%, 0%, 6.3%)
CIE-LABlab(58.18, 14.74, -56.40)
CIE-LCHlch(58.18, 58.30, 284.65°)
OKLaboklab(64.43% -0.0198 -0.1609)
OKLCHoklch(64.43% 0.162 263)
XYZxyz(28.4507, 26.1469, 85.1921)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789EF #EFBD57
analogous
#57D5EF #5789EF #7157EF
triadic
#5789EF #EF5789 #89EF57
tetradic
#5789EF #EF57D5 #EFBD57 #57EF71
square
#5789EF #EF57D5 #EFBD57 #57EF71
split-complementary
#5789EF #EF7157 #D5EF57
monochromatic
#1249BA #1F62EA #5789EF #8FB0F4 #C7D7FA

Accessibility & contrast

On white

3.37
#5789EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5789EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789EF#FFFFFF#000000##000000
##5789EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5789ef;
/* rgb */ color: rgb(87, 137, 239);
/* oklch */ color: oklch(64.4% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#94aaf5',
    500: '#5789ef',
    950: '#000000',
  },
}
SCSS
$custom: #5789ef;
$custom-light: #94aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5789ef",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 220.263,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.16215,
    "h": 263
  },
  "luminance": 0.2615
}

Semantic roles & 50–950 ramp

primary
#5789EF
secondary
#ECDAB6
accent
#9806DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789EF

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

Preview Lab → · Contrast checker → · Palette generator →

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