#5A89FA#5A89FA

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

Color values

HEX#5A89FA
RGBrgb(90, 137, 250)
HSLhsl(222, 94%, 67%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64%, 45.2%, 0%, 2%)
CIE-LABlab(58.94, 18.96, -61.25)
CIE-LCHlch(58.94, 64.11, 287.20°)
OKLaboklab(65.26% -0.0155 -0.1751)
OKLCHoklch(65.26% 0.176 264.9)
XYZxyz(30.4114, 26.9643, 94.0259)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89FA #FACB5A
analogous
#5AD9FA #5A89FA #7B5AFA
triadic
#5A89FA #FA5A89 #89FA5A
tetradic
#5A89FA #FA5AD9 #FACB5A #5AFA7B
square
#5A89FA #FA5AD9 #FACB5A #5AFA7B
split-complementary
#5A89FA #FA7B5A #D9FA5A
monochromatic
#0643D3 #1F5FF8 #5A89FA #95B3FC #D1DEFE

Accessibility & contrast

On white

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

On black

6.39
#5A89FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89FA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89FA#FFFFFF#000000##000000
##5A89FA1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#3487F8
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a89fa;
/* rgb */ color: rgb(90, 137, 250);
/* oklch */ color: oklch(65.3% 0.176 264.9);
Tailwind
colors: {
  custom: {
    50: '#97aafc',
    500: '#5a89fa',
    950: '#000000',
  },
}
SCSS
$custom: #5a89fa;
$custom-light: #97aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89fa",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 222.375,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.17578,
    "h": 264.9
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

primary
#5A89FA
secondary
#F2E3BE
accent
#A200E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5A89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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