#5A89F0#5A89F0

#5A89F0 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.6% C 0.162 H 264.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5A89F0
RGBrgb(90, 137, 240)
HSLhsl(221, 83%, 65%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(62.5%, 42.9%, 0%, 5.9%)
CIE-LABlab(58.37, 15.60, -56.64)
CIE-LCHlch(58.37, 58.75, 285.39°)
OKLaboklab(64.64% -0.0171 -0.1616)
OKLCHoklch(64.64% 0.162 264)
XYZxyz(28.8848, 26.3536, 85.9857)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89F0 #F0C15A
analogous
#5AD4F0 #5A89F0 #765AF0
triadic
#5A89F0 #F05A89 #89F05A
tetradic
#5A89F0 #F05AD4 #F0C15A #5AF076
square
#5A89F0 #F05AD4 #F0C15A #5AF076
split-complementary
#5A89F0 #F0765A #D4F05A
monochromatic
#1148BE #2261EB #5A89F0 #92B1F5 #CAD9FA

Accessibility & contrast

On white

3.35
#5A89F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5A89F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89F0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89F0#FFFFFF#000000##000000
##5A89F01.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#4286EE
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89f0;
/* rgb */ color: rgb(90, 137, 240);
/* oklch */ color: oklch(64.6% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#96aaf5',
    500: '#5a89f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a89f0;
$custom-light: #96aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89f0",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 240
  },
  "hsl": {
    "h": 221.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.16246,
    "h": 264
  },
  "luminance": 0.26356
}

Semantic roles & 50–950 ramp

primary
#5A89F0
secondary
#EDDDB9
accent
#9B06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89F0

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

Preview Lab → · Contrast checker → · Palette generator →

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