#5A89CE#5A89CE

#5A89CE is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.7% C 0.117 H 257.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A89CE
RGBrgb(90, 137, 206)
HSLhsl(216, 54%, 58%)
HSVhsv(216, 56%, 81%)
CMYKcmyk(56.3%, 33.5%, 0%, 19.2%)
CIE-LABlab(56.60, 4.39, -40.44)
CIE-LCHlch(56.60, 40.68, 276.19°)
OKLaboklab(62.69% -0.0245 -0.1142)
OKLCHoklch(62.69% 0.117 257.9)
XYZxyz(24.2988, 24.5192, 61.8328)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89CE #CE9F5A
analogous
#5AC3CE #5A89CE #655ACE
triadic
#5A89CE #CE5A89 #89CE5A
tetradic
#5A89CE #CE5AC3 #CE9F5A #5ACE65
square
#5A89CE #CE5AC3 #CE9F5A #5ACE65
split-complementary
#5A89CE #CE655A #C3CE5A
monochromatic
#284E86 #3669B5 #5A89CE #89ABDC #B8CCEA

Accessibility & contrast

On white

3.56
#5A89CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5A89CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89CE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89CE#FFFFFF#000000##000000
##5A89CE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a89ce;
/* rgb */ color: rgb(90, 137, 206);
/* oklch */ color: oklch(62.7% 0.117 257.9);
Tailwind
colors: {
  custom: {
    50: '#91abdd',
    500: '#5a89ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a89ce;
$custom-light: #91abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89ce",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 215.69,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62692,
    "c": 0.11678,
    "h": 257.9
  },
  "luminance": 0.24521
}

Semantic roles & 50–950 ramp

primary
#5A89CE
secondary
#D9C6AB
accent
#A24ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89CE

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

Preview Lab → · Contrast checker → · Palette generator →

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