#5A89CF#5A89CF

#5A89CF is a light, moderate blue. Relative luminance 0.246; OKLCH L 62.7% C 0.118 H 258.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5A89CF
RGBrgb(90, 137, 207)
HSLhsl(216, 55%, 58%)
HSVhsv(216, 57%, 81%)
CMYKcmyk(56.5%, 33.8%, 0%, 18.8%)
CIE-LABlab(56.65, 4.71, -40.93)
CIE-LCHlch(56.65, 41.20, 276.56°)
OKLaboklab(62.75% -0.0243 -0.1156)
OKLCHoklch(62.75% 0.118 258.1)
XYZxyz(24.4207, 24.5680, 62.4746)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89CF #CFA05A
analogous
#5AC4CF #5A89CF #655ACF
triadic
#5A89CF #CF5A89 #89CF5A
tetradic
#5A89CF #CF5AC4 #CFA05A #5ACF65
square
#5A89CF #CF5AC4 #CFA05A #5ACF65
split-complementary
#5A89CF #CF655A #C4CF5A
monochromatic
#274E87 #3569B7 #5A89CF #89ABDD #B9CDEB

Accessibility & contrast

On white

3.55
#5A89CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5A89CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89CF#FFFFFF#000000##000000
##5A89CF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#0099A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a89cf;
/* rgb */ color: rgb(90, 137, 207);
/* oklch */ color: oklch(62.7% 0.118 258.1);
Tailwind
colors: {
  custom: {
    50: '#91abde',
    500: '#5a89cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a89cf;
$custom-light: #91abde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89cf",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 215.897,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62746,
    "c": 0.11812,
    "h": 258.1
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#5A89CF
secondary
#DAC7AB
accent
#A34ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89CF

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

Preview Lab → · Contrast checker → · Palette generator →

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