#5A89FB#5A89FB

#5A89FB is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.3% C 0.177 H 265.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A89FB
RGBrgb(90, 137, 251)
HSLhsl(222, 95%, 67%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64.1%, 45.4%, 0%, 1.6%)
CIE-LABlab(59.00, 19.30, -61.70)
CIE-LCHlch(59.00, 64.65, 287.37°)
OKLaboklab(65.32% -0.0153 -0.1764)
OKLCHoklch(65.32% 0.177 265)
XYZxyz(30.5686, 27.0272, 94.8539)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89FB #FBCC5A
analogous
#5ADAFB #5A89FB #7B5AFB
triadic
#5A89FB #FB5A89 #89FB5A
tetradic
#5A89FB #FB5ADA #FBCC5A #5AFB7B
square
#5A89FB #FB5ADA #FBCC5A #5AFB7B
split-complementary
#5A89FB #FB7B5A #DAFB5A
monochromatic
#0542D5 #1E5EFA #5A89FB #96B4FC #D2DEFE

Accessibility & contrast

On white

3.28
#5A89FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A89FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89FB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89FB#FFFFFF#000000##000000
##5A89FB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#3387F9
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a89fb;
/* rgb */ color: rgb(90, 137, 251);
/* oklch */ color: oklch(65.3% 0.177 265.0);
Tailwind
colors: {
  custom: {
    50: '#97aafd',
    500: '#5a89fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a89fb;
$custom-light: #97aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89fb",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 222.484,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.17711,
    "h": 265
  },
  "luminance": 0.2703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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