#5A89EF#5A89EF

#5A89EF is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.161 H 263.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A89EF
RGBrgb(90, 137, 239)
HSLhsl(221, 82%, 65%)
HSVhsv(221, 62%, 94%)
CMYKcmyk(62.3%, 42.7%, 0%, 6.3%)
CIE-LABlab(58.32, 15.26, -56.17)
CIE-LCHlch(58.32, 58.21, 285.20°)
OKLaboklab(64.58% -0.0173 -0.1602)
OKLCHoklch(64.58% 0.161 263.8)
XYZxyz(28.7367, 26.2944, 85.2055)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89EF #EFC05A
analogous
#5AD3EF #5A89EF #765AEF
triadic
#5A89EF #EF5A89 #89EF5A
tetradic
#5A89EF #EF5AD3 #EFC05A #5AEF76
square
#5A89EF #EF5AD3 #EFC05A #5AEF76
split-complementary
#5A89EF #EF765A #D3EF5A
monochromatic
#1248BC #2261EA #5A89EF #92B1F4 #CAD9FA

Accessibility & contrast

On white

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

On black

6.26
#5A89EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89EF#FFFFFF#000000##000000
##5A89EF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4386ED
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a89ef;
/* rgb */ color: rgb(90, 137, 239);
/* oklch */ color: oklch(64.6% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#95aaf5',
    500: '#5a89ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a89ef;
$custom-light: #95aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89ef",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 221.074,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64576,
    "c": 0.16113,
    "h": 263.8
  },
  "luminance": 0.26297
}

Semantic roles & 50–950 ramp

primary
#5A89EF
secondary
#ECDCB9
accent
#9B07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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