#5A89FD#5A89FD

#5A89FD is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.5% C 0.180 H 265.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5A89FD
RGBrgb(90, 137, 253)
HSLhsl(223, 98%, 67%)
HSVhsv(223, 64%, 99%)
CMYKcmyk(64.4%, 45.8%, 0%, 0.8%)
CIE-LABlab(59.12, 19.97, -62.62)
CIE-LCHlch(59.12, 65.72, 287.69°)
OKLaboklab(65.45% -0.015 -0.1791)
OKLCHoklch(65.45% 0.18 265.2)
XYZxyz(30.8856, 27.1539, 96.5230)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89FD #FDCE5A
analogous
#5ADBFD #5A89FD #7C5AFD
triadic
#5A89FD #FD5A89 #89FD5A
tetradic
#5A89FD #FD5ADB #FDCE5A #5AFD7C
square
#5A89FD #FD5ADB #FDCE5A #5AFD7C
split-complementary
#5A89FD #FD7C5A #DBFD5A
monochromatic
#0341DA #1E5EFC #5A89FD #96B4FE #D3DFFE

Accessibility & contrast

On white

3.27
#5A89FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5A89FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89FD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89FD#FFFFFF#000000##000000
##5A89FD1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#2F87FB
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a89fd;
/* rgb */ color: rgb(90, 137, 253);
/* oklch */ color: oklch(65.5% 0.180 265.2);
Tailwind
colors: {
  custom: {
    50: '#98aaff',
    500: '#5a89fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a89fd;
$custom-light: #98aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89fd",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 222.699,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6545,
    "c": 0.17976,
    "h": 265.2
  },
  "luminance": 0.27157
}

Semantic roles & 50–950 ramp

primary
#5A89FD
secondary
#F3E4C0
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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