#5A89DC#5A89DC

#5A89DC is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.5% C 0.136 H 261.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5A89DC
RGBrgb(90, 137, 220)
HSLhsl(218, 65%, 61%)
HSVhsv(218, 59%, 86%)
CMYKcmyk(59.1%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.30, 8.95, -47.21)
CIE-LCHlch(57.30, 48.05, 280.73°)
OKLaboklab(63.46% -0.0211 -0.1339)
OKLCHoklch(63.46% 0.136 261)
XYZxyz(26.0759, 25.2300, 71.1920)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89DC #DCAD5A
analogous
#5ACADC #5A89DC #6C5ADC
triadic
#5A89DC #DC5A89 #89DC5A
tetradic
#5A89DC #DC5ACA #DCAD5A #5ADC6C
square
#5A89DC #DC5ACA #DCAD5A #5ADC6C
split-complementary
#5A89DC #DC6C5A #CADC5A
monochromatic
#214D9B #2C66CD #5A89DC #8CADE7 #BFD1F1

Accessibility & contrast

On white

3.47
#5A89DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5A89DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89DC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89DC#FFFFFF#000000##000000
##5A89DC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a89dc;
/* rgb */ color: rgb(90, 137, 220);
/* oklch */ color: oklch(63.5% 0.136 261.0);
Tailwind
colors: {
  custom: {
    50: '#93abe7',
    500: '#5a89dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a89dc;
$custom-light: #93abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89dc",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 218.308,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.13558,
    "h": 261
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#5A89DC
secondary
#E2D0B0
accent
#8C19CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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