#5A89EC#5A89EC

#5A89EC is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.4% C 0.157 H 263.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5A89EC
RGBrgb(90, 137, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(61.9%, 41.9%, 0%, 7.5%)
CIE-LABlab(58.15, 14.26, -54.77)
CIE-LCHlch(58.15, 56.60, 284.59°)
OKLaboklab(64.39% -0.0178 -0.1561)
OKLCHoklch(64.39% 0.157 263.5)
XYZxyz(28.2972, 26.1186, 82.8908)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89EC #ECBD5A
analogous
#5AD2EC #5A89EC #745AEC
triadic
#5A89EC #EC5A89 #89EC5A
tetradic
#5A89EC #EC5AD2 #ECBD5A #5AEC74
square
#5A89EC #EC5AD2 #ECBD5A #5AEC74
split-complementary
#5A89EC #EC745A #D2EC5A
monochromatic
#1549B7 #2362E6 #5A89EC #91B0F2 #C8D7F9

Accessibility & contrast

On white

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

On black

6.22
#5A89EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89EC#FFFFFF#000000##000000
##5A89EC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#4686EA
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89ec;
/* rgb */ color: rgb(90, 137, 236);
/* oklch */ color: oklch(64.4% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5a89ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a89ec;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89ec",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 220.685,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64394,
    "c": 0.1571,
    "h": 263.5
  },
  "luminance": 0.26121
}

Semantic roles & 50–950 ramp

primary
#5A89EC
secondary
#EBDAB7
accent
#980ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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