#5A89F6#5A89F6

#5A89F6 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.170 H 264.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A89F6
RGBrgb(90, 137, 246)
HSLhsl(222, 90%, 66%)
HSVhsv(222, 63%, 96%)
CMYKcmyk(63.4%, 44.3%, 0%, 3.5%)
CIE-LABlab(58.71, 17.61, -59.41)
CIE-LCHlch(58.71, 61.97, 286.51°)
OKLaboklab(65.01% -0.0161 -0.1697)
OKLCHoklch(65.01% 0.17 264.6)
XYZxyz(29.7909, 26.7160, 90.7577)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A89F6 #F6C75A
analogous
#5AD7F6 #5A89F6 #795AF6
triadic
#5A89F6 #F65A89 #89F65A
tetradic
#5A89F6 #F65AD7 #F6C75A #5AF679
square
#5A89F6 #F65AD7 #F6C75A #5AF679
split-complementary
#5A89F6 #F6795A #D7F65A
monochromatic
#0B45CB #205FF3 #5A89F6 #94B3F9 #CEDCFC

Accessibility & contrast

On white

3.31
#5A89F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A89F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A89F6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A89F6#FFFFFF#000000##000000
##5A89F61.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#3A87F4
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a89f6;
/* rgb */ color: rgb(90, 137, 246);
/* oklch */ color: oklch(65.0% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#97aafa',
    500: '#5a89f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a89f6;
$custom-light: #97aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a89f6",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 221.923,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.17047,
    "h": 264.6
  },
  "luminance": 0.26719
}

Semantic roles & 50–950 ramp

primary
#5A89F6
secondary
#F0E0BC
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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