#5A89E8#5A89E8

#5A89E8 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.152 H 263.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A89E8
RGBrgb(90, 137, 232)
HSLhsl(220, 76%, 63%)
HSVhsv(220, 61%, 91%)
CMYKcmyk(61.2%, 40.9%, 0%, 9%)
CIE-LABlab(57.93, 12.92, -52.90)
CIE-LCHlch(57.93, 54.46, 283.73°)
OKLaboklab(64.16% -0.0186 -0.1506)
OKLCHoklch(64.16% 0.152 263)
XYZxyz(27.7225, 25.8887, 79.8644)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89E8 #E8B95A
analogous
#5AD0E8 #5A89E8 #725AE8
triadic
#5A89E8 #E85A89 #89E85A
tetradic
#5A89E8 #E85AD0 #E8B95A #5AE872
square
#5A89E8 #E85AD0 #E8B95A #5AE872
split-complementary
#5A89E8 #E8725A #D0E85A
monochromatic
#184AAF #2463E1 #5A89E8 #90AFEF #C5D6F7

Accessibility & contrast

On white

3.40
#5A89E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5A89E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89E8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89E8#FFFFFF#000000##000000
##5A89E81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a89e8;
/* rgb */ color: rgb(90, 137, 232);
/* oklch */ color: oklch(64.2% 0.152 263.0);
Tailwind
colors: {
  custom: {
    50: '#94abf0',
    500: '#5a89e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a89e8;
$custom-light: #94abf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89e8",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 220.141,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.15174,
    "h": 263
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#5A89E8
secondary
#E8D7B5
accent
#950ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A89E8

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

Preview Lab → · Contrast checker → · Palette generator →

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