#5A89ED#5A89ED

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

Color values

HEX#5A89ED
RGBrgb(90, 137, 237)
HSLhsl(221, 80%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62%, 42.2%, 0%, 7.1%)
CIE-LABlab(58.20, 14.59, -55.24)
CIE-LCHlch(58.20, 57.14, 284.80°)
OKLaboklab(64.46% -0.0176 -0.1575)
OKLCHoklch(64.46% 0.158 263.6)
XYZxyz(28.4429, 26.1768, 83.6581)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89ED #EDBE5A
analogous
#5AD3ED #5A89ED #755AED
triadic
#5A89ED #ED5A89 #89ED5A
tetradic
#5A89ED #ED5AD3 #EDBE5A #5AED75
square
#5A89ED #ED5AD3 #EDBE5A #5AED75
split-complementary
#5A89ED #ED755A #D3ED5A
monochromatic
#1449B8 #2362E7 #5A89ED #91B0F3 #C8D8F9

Accessibility & contrast

On white

3.37
#5A89ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#5A89ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89ED
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89ED#FFFFFF#000000##000000
##5A89ED1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89ed;
/* rgb */ color: rgb(90, 137, 237);
/* oklch */ color: oklch(64.5% 0.158 263.6);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5a89ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a89ed;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89ed",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 220.816,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.15845,
    "h": 263.6
  },
  "luminance": 0.26179
}

Semantic roles & 50–950 ramp

primary
#5A89ED
secondary
#EBDBB8
accent
#9909DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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