#5A89D4#5A89D4

#5A89D4 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.0% C 0.125 H 259.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A89D4
RGBrgb(90, 137, 212)
HSLhsl(217, 59%, 59%)
HSVhsv(217, 58%, 83%)
CMYKcmyk(57.5%, 35.4%, 0%, 16.9%)
CIE-LABlab(56.90, 6.33, -43.36)
CIE-LCHlch(56.90, 43.82, 278.31°)
OKLaboklab(63.02% -0.023 -0.1227)
OKLCHoklch(63.02% 0.125 259.4)
XYZxyz(25.0416, 24.8163, 65.7450)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89D4 #D4A55A
analogous
#5AC6D4 #5A89D4 #685AD4
triadic
#5A89D4 #D45A89 #89D45A
tetradic
#5A89D4 #D45AC6 #D4A55A #5AD468
square
#5A89D4 #D45AC6 #D4A55A #5AD468
split-complementary
#5A89D4 #D4685A #C6D45A
monochromatic
#254E8E #3268BF #5A89D4 #8BACE1 #BBCEED

Accessibility & contrast

On white

3.52
#5A89D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5A89D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89D4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89D4#FFFFFF#000000##000000
##5A89D41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8FD7
Deuteranopia (green-blind)
#5A83D2
Tritanopia (blue-blind)
#009AA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a89d4;
/* rgb */ color: rgb(90, 137, 212);
/* oklch */ color: oklch(63.0% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#92abe1',
    500: '#5a89d4',
    950: '#000000',
  },
}
SCSS
$custom: #5a89d4;
$custom-light: #92abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89d4",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 212
  },
  "hsl": {
    "h": 216.885,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.12482,
    "h": 259.4
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#5A89D4
secondary
#DDCAAD
accent
#A646E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A89D4

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

Preview Lab → · Contrast checker → · Palette generator →

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