#5A89E2#5A89E2

#5A89E2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.8% C 0.144 H 262.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5A89E2
RGBrgb(90, 137, 226)
HSLhsl(219, 70%, 62%)
HSVhsv(219, 60%, 89%)
CMYKcmyk(60.2%, 39.4%, 0%, 11.4%)
CIE-LABlab(57.61, 10.93, -50.07)
CIE-LCHlch(57.61, 51.25, 282.31°)
OKLaboklab(63.8% -0.0198 -0.1423)
OKLCHoklch(63.8% 0.144 262.1)
XYZxyz(26.8848, 25.5536, 75.4523)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89E2 #E2B35A
analogous
#5ACDE2 #5A89E2 #6F5AE2
triadic
#5A89E2 #E25A89 #89E25A
tetradic
#5A89E2 #E25ACD #E2B35A #5AE26F
square
#5A89E2 #E25ACD #E2B35A #5AE26F
split-complementary
#5A89E2 #E26F5A #CDE25A
monochromatic
#1D4CA5 #2664D9 #5A89E2 #8EAEEB #C2D3F4

Accessibility & contrast

On white

3.44
#5A89E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5A89E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89E2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89E2#FFFFFF#000000##000000
##5A89E21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#5085E0
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a89e2;
/* rgb */ color: rgb(90, 137, 226);
/* oklch */ color: oklch(63.8% 0.144 262.1);
Tailwind
colors: {
  custom: {
    50: '#93abeb',
    500: '#5a89e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a89e2;
$custom-light: #93abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89e2",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 219.265,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.14366,
    "h": 262.1
  },
  "luminance": 0.25556
}

Semantic roles & 50–950 ramp

primary
#5A89E2
secondary
#E5D4B3
accent
#9013D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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