#5A89E7#5A89E7

#5A89E7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.150 H 262.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5A89E7
RGBrgb(90, 137, 231)
HSLhsl(220, 75%, 63%)
HSVhsv(220, 61%, 91%)
CMYKcmyk(61%, 40.7%, 0%, 9.4%)
CIE-LABlab(57.88, 12.59, -52.43)
CIE-LCHlch(57.88, 53.92, 283.50°)
OKLaboklab(64.1% -0.0188 -0.1492)
OKLCHoklch(64.1% 0.15 262.8)
XYZxyz(27.5809, 25.8321, 79.1184)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89E7 #E7B85A
analogous
#5ACFE7 #5A89E7 #715AE7
triadic
#5A89E7 #E75A89 #89E75A
tetradic
#5A89E7 #E75ACF #E7B85A #5AE771
square
#5A89E7 #E75ACF #E7B85A #5AE771
split-complementary
#5A89E7 #E7715A #CFE75A
monochromatic
#194BAD #2563DF #5A89E7 #8FAFEF #C5D5F7

Accessibility & contrast

On white

3.41
#5A89E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5A89E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89E7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89E7#FFFFFF#000000##000000
##5A89E71.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a89e7;
/* rgb */ color: rgb(90, 137, 231);
/* oklch */ color: oklch(64.1% 0.150 262.8);
Tailwind
colors: {
  custom: {
    50: '#94abef',
    500: '#5a89e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a89e7;
$custom-light: #94abef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89e7",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 220,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.1504,
    "h": 262.8
  },
  "luminance": 0.25835
}

Semantic roles & 50–950 ramp

primary
#5A89E7
secondary
#E8D7B5
accent
#940FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A89E7

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

Preview Lab → · Contrast checker → · Palette generator →

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