#5A89BB#5A89BB

#5A89BB is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.7% C 0.092 H 250.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5A89BB
RGBrgb(90, 137, 187)
HSLhsl(211, 42%, 54%)
HSVhsv(211, 52%, 73%)
CMYKcmyk(51.9%, 26.7%, 0%, 26.7%)
CIE-LABlab(55.74, -1.62, -31.03)
CIE-LCHlch(55.74, 31.07, 267.01°)
OKLaboklab(61.73% -0.03 -0.0869)
OKLCHoklch(61.73% 0.092 250.9)
XYZxyz(22.1286, 23.6511, 50.4031)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89BB #BB8C5A
analogous
#5ABABB #5A89BB #5C5ABB
triadic
#5A89BB #BB5A89 #89BB5A
tetradic
#5A89BB #BB5ABA #BB8C5A #5ABB5C
square
#5A89BB #BB5ABA #BB8C5A #5ABB5C
split-complementary
#5A89BB #BB5C5A #BABB5A
monochromatic
#2D4C6D #3F6B99 #5A89BB #85A8CD #B1C7DF

Accessibility & contrast

On white

3.66
#5A89BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5A89BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89BB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89BB#FFFFFF#000000##000000
##5A89BB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBD
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#27949A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a89bb;
/* rgb */ color: rgb(90, 137, 187);
/* oklch */ color: oklch(61.7% 0.092 250.9);
Tailwind
colors: {
  custom: {
    50: '#8fabcf',
    500: '#5a89bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a89bb;
$custom-light: #8fabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89bb",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 187
  },
  "hsl": {
    "h": 210.928,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.09195,
    "h": 250.9
  },
  "luminance": 0.23653
}

Semantic roles & 50–950 ramp

primary
#5A89BB
secondary
#CDB9A4
accent
#9656D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5A89BB

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

Preview Lab → · Contrast checker → · Palette generator →

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