#5A89CB#5A89CB

#5A89CB is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.5% C 0.113 H 257.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5A89CB
RGBrgb(90, 137, 203)
HSLhsl(215, 52%, 57%)
HSVhsv(215, 56%, 80%)
CMYKcmyk(55.7%, 32.5%, 0%, 20.4%)
CIE-LABlab(56.46, 3.42, -38.97)
CIE-LCHlch(56.46, 39.12, 275.02°)
OKLaboklab(62.53% -0.0253 -0.1099)
OKLCHoklch(62.53% 0.113 257)
XYZxyz(23.9378, 24.3748, 59.9317)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89CB #CB9C5A
analogous
#5AC2CB #5A89CB #635ACB
triadic
#5A89CB #CB5A89 #89CB5A
tetradic
#5A89CB #CB5AC2 #CB9C5A #5ACB63
square
#5A89CB #CB5AC2 #CB9C5A #5ACB63
split-complementary
#5A89CB #CB635A #C2CB5A
monochromatic
#294E82 #386AB0 #5A89CB #89AADA #B7CCE8

Accessibility & contrast

On white

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

On black

5.88
#5A89CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89CB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89CB#FFFFFF#000000##000000
##5A89CB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#0898A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a89cb;
/* rgb */ color: rgb(90, 137, 203);
/* oklch */ color: oklch(62.5% 0.113 257.0);
Tailwind
colors: {
  custom: {
    50: '#90abdb',
    500: '#5a89cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a89cb;
$custom-light: #90abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89cb",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 215.044,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62534,
    "c": 0.11278,
    "h": 257
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#5A89CB
secondary
#D7C4AA
accent
#A04CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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