#5A89F4#5A89F4

#5A89F4 is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.9% C 0.168 H 264.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5A89F4
RGBrgb(90, 137, 244)
HSLhsl(222, 88%, 65%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(63.1%, 43.9%, 0%, 4.3%)
CIE-LABlab(58.60, 16.94, -58.49)
CIE-LCHlch(58.60, 60.89, 286.15°)
OKLaboklab(64.88% -0.0164 -0.167)
OKLCHoklch(64.88% 0.168 264.4)
XYZxyz(29.4856, 26.5939, 89.1497)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89F4 #F4C55A
analogous
#5AD6F4 #5A89F4 #785AF4
triadic
#5A89F4 #F45A89 #89F45A
tetradic
#5A89F4 #F45AD6 #F4C55A #5AF478
square
#5A89F4 #F45AD6 #F4C55A #5AF478
split-complementary
#5A89F4 #F4785A #D6F45A
monochromatic
#0D46C6 #2160F0 #5A89F4 #93B2F8 #CDDBFC

Accessibility & contrast

On white

3.32
#5A89F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5A89F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89F4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89F4#FFFFFF#000000##000000
##5A89F41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F8
Deuteranopia (green-blind)
#3D86F2
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a89f4;
/* rgb */ color: rgb(90, 137, 244);
/* oklch */ color: oklch(64.9% 0.168 264.4);
Tailwind
colors: {
  custom: {
    50: '#96aaf8',
    500: '#5a89f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a89f4;
$custom-light: #96aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89f4",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 244
  },
  "hsl": {
    "h": 221.688,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.16781,
    "h": 264.4
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

primary
#5A89F4
secondary
#EFDFBB
accent
#9F01E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A89F4

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

Preview Lab → · Contrast checker → · Palette generator →

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