#5A89CD#5A89CD

#5A89CD is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.6% C 0.115 H 257.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A89CD
RGBrgb(90, 137, 205)
HSLhsl(215, 53%, 58%)
HSVhsv(215, 56%, 80%)
CMYKcmyk(56.1%, 33.2%, 0%, 19.6%)
CIE-LABlab(56.56, 4.07, -39.95)
CIE-LCHlch(56.56, 40.16, 275.81°)
OKLaboklab(62.64% -0.0248 -0.1127)
OKLCHoklch(62.64% 0.115 257.6)
XYZxyz(24.1777, 24.4708, 61.1950)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89CD #CD9E5A
analogous
#5AC2CD #5A89CD #645ACD
triadic
#5A89CD #CD5A89 #89CD5A
tetradic
#5A89CD #CD5AC2 #CD9E5A #5ACD64
square
#5A89CD #CD5AC2 #CD9E5A #5ACD64
split-complementary
#5A89CD #CD645A #C2CD5A
monochromatic
#284E84 #3669B3 #5A89CD #89ABDB #B8CCE9

Accessibility & contrast

On white

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

On black

5.89
#5A89CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89CD#FFFFFF#000000##000000
##5A89CD1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a89cd;
/* rgb */ color: rgb(90, 137, 205);
/* oklch */ color: oklch(62.6% 0.115 257.6);
Tailwind
colors: {
  custom: {
    50: '#91abdc',
    500: '#5a89cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a89cd;
$custom-light: #91abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89cd",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 215.478,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62639,
    "c": 0.11544,
    "h": 257.6
  },
  "luminance": 0.24473
}

Semantic roles & 50–950 ramp

primary
#5A89CD
secondary
#D8C6AA
accent
#A14BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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