#5A89CC#5A89CC

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

Color values

HEX#5A89CC
RGBrgb(90, 137, 204)
HSLhsl(215, 53%, 58%)
HSVhsv(215, 56%, 80%)
CMYKcmyk(55.9%, 32.8%, 0%, 20%)
CIE-LABlab(56.51, 3.74, -39.46)
CIE-LCHlch(56.51, 39.64, 275.42°)
OKLaboklab(62.59% -0.0251 -0.1113)
OKLCHoklch(62.59% 0.114 257.3)
XYZxyz(24.0574, 24.4227, 60.5613)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89CC #CC9D5A
analogous
#5AC2CC #5A89CC #645ACC
triadic
#5A89CC #CC5A89 #89CC5A
tetradic
#5A89CC #CC5AC2 #CC9D5A #5ACC64
square
#5A89CC #CC5AC2 #CC9D5A #5ACC64
split-complementary
#5A89CC #CC645A #C2CC5A
monochromatic
#294E83 #376AB2 #5A89CC #89AADA #B7CCE9

Accessibility & contrast

On white

3.57
#5A89CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A89CC#FFFFFF#000000##000000
##5A89CC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCF
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#0498A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a89cc;
/* rgb */ color: rgb(90, 137, 204);
/* oklch */ color: oklch(62.6% 0.114 257.3);
Tailwind
colors: {
  custom: {
    50: '#91abdc',
    500: '#5a89cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a89cc;
$custom-light: #91abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89cc",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 204
  },
  "hsl": {
    "h": 215.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.11412,
    "h": 257.3
  },
  "luminance": 0.24425
}

Semantic roles & 50–950 ramp

primary
#5A89CC
secondary
#D8C5AA
accent
#A14CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89CC

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

Preview Lab → · Contrast checker → · Palette generator →

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