#5A89D1#5A89D1

#5A89D1 is a light, vivid blue. Relative luminance 0.247; OKLCH L 62.9% C 0.121 H 258.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5A89D1
RGBrgb(90, 137, 209)
HSLhsl(216, 56%, 59%)
HSVhsv(216, 57%, 82%)
CMYKcmyk(56.9%, 34.4%, 0%, 18%)
CIE-LABlab(56.75, 5.36, -41.90)
CIE-LCHlch(56.75, 42.25, 277.28°)
OKLaboklab(62.85% -0.0237 -0.1184)
OKLCHoklch(62.85% 0.121 258.7)
XYZxyz(24.6667, 24.6664, 63.7705)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89D1 #D1A25A
analogous
#5AC4D1 #5A89D1 #665AD1
triadic
#5A89D1 #D15A89 #89D15A
tetradic
#5A89D1 #D15AC4 #D1A25A #5AD166
square
#5A89D1 #D15AC4 #D1A25A #5AD166
split-complementary
#5A89D1 #D1665A #C4D15A
monochromatic
#274E8A #3469BA #5A89D1 #8AABDE #BACDEC

Accessibility & contrast

On white

3.54
#5A89D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5A89D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89D1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89D1#FFFFFF#000000##000000
##5A89D11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ED4
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a89d1;
/* rgb */ color: rgb(90, 137, 209);
/* oklch */ color: oklch(62.9% 0.121 258.7);
Tailwind
colors: {
  custom: {
    50: '#91abdf',
    500: '#5a89d1',
    950: '#000000',
  },
}
SCSS
$custom: #5a89d1;
$custom-light: #91abdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89d1",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 209
  },
  "hsl": {
    "h": 216.303,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62853,
    "c": 0.1208,
    "h": 258.7
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#5A89D1
secondary
#DBC8AC
accent
#A448E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89D1

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

Preview Lab → · Contrast checker → · Palette generator →

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