#5A89EE#5A89EE

#5A89EE is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.160 H 263.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5A89EE
RGBrgb(90, 137, 238)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.2%, 42.4%, 0%, 6.7%)
CIE-LABlab(58.26, 14.93, -55.71)
CIE-LCHlch(58.26, 57.67, 285.00°)
OKLaboklab(64.52% -0.0175 -0.1588)
OKLCHoklch(64.52% 0.16 263.7)
XYZxyz(28.5894, 26.2354, 84.4297)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89EE #EEBF5A
analogous
#5AD3EE #5A89EE #755AEE
triadic
#5A89EE #EE5A89 #89EE5A
tetradic
#5A89EE #EE5AD3 #EEBF5A #5AEE75
square
#5A89EE #EE5AD3 #EEBF5A #5AEE75
split-complementary
#5A89EE #EE755A #D3EE5A
monochromatic
#1348BA #2361E8 #5A89EE #91B1F4 #C9D8F9

Accessibility & contrast

On white

3.36
#5A89EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5A89EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89EE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89EE#FFFFFF#000000##000000
##5A89EE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89ee;
/* rgb */ color: rgb(90, 137, 238);
/* oklch */ color: oklch(64.5% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#95aaf4',
    500: '#5a89ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a89ee;
$custom-light: #95aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89ee",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 220.946,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64515,
    "c": 0.15979,
    "h": 263.7
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#5A89EE
secondary
#ECDBB8
accent
#9A08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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