#5A89EB#5A89EB

#5A89EB is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.3% C 0.156 H 263.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A89EB
RGBrgb(90, 137, 235)
HSLhsl(221, 78%, 64%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(61.7%, 41.7%, 0%, 7.8%)
CIE-LABlab(58.09, 13.92, -54.31)
CIE-LCHlch(58.09, 56.06, 284.38°)
OKLaboklab(64.33% -0.018 -0.1547)
OKLCHoklch(64.33% 0.156 263.4)
XYZxyz(28.1523, 26.0606, 82.1278)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89EB #EBBC5A
analogous
#5AD1EB #5A89EB #735AEB
triadic
#5A89EB #EB5A89 #89EB5A
tetradic
#5A89EB #EB5AD1 #EBBC5A #5AEB73
square
#5A89EB #EB5AD1 #EBBC5A #5AEB73
split-complementary
#5A89EB #EB735A #D1EB5A
monochromatic
#1649B5 #2362E4 #5A89EB #91B0F2 #C7D7F8

Accessibility & contrast

On white

3.38
#5A89EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5A89EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89EB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89EB#FFFFFF#000000##000000
##5A89EB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89eb;
/* rgb */ color: rgb(90, 137, 235);
/* oklch */ color: oklch(64.3% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#95aaf2',
    500: '#5a89eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a89eb;
$custom-light: #95aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89eb",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 220.552,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.15576,
    "h": 263.4
  },
  "luminance": 0.26063
}

Semantic roles & 50–950 ramp

primary
#5A89EB
secondary
#EAD9B7
accent
#970BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5A89EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva