#5989FA#5989FA

#5989FA is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.2% C 0.176 H 264.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5989FA
RGBrgb(89, 137, 250)
HSLhsl(222, 94%, 66%)
HSVhsv(222, 64%, 98%)
CMYKcmyk(64.4%, 45.2%, 0%, 2%)
CIE-LABlab(58.90, 18.80, -61.32)
CIE-LCHlch(58.90, 64.14, 287.04°)
OKLaboklab(65.21% -0.0163 -0.1753)
OKLCHoklch(65.21% 0.176 264.7)
XYZxyz(30.3148, 26.9144, 94.0214)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989FA #FACA59
analogous
#59D9FA #5989FA #7A59FA
triadic
#5989FA #FA5989 #89FA59
tetradic
#5989FA #FA59D9 #FACA59 #59FA7A
square
#5989FA #FA59D9 #FACA59 #59FA7A
split-complementary
#5989FA #FA7A59 #D9FA59
monochromatic
#0643D2 #1E5FF8 #5989FA #94B3FC #D0DDFE

Accessibility & contrast

On white

3.29
#5989FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5989FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989FA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989FA#FFFFFF#000000##000000
##5989FA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.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: #5989fa;
/* rgb */ color: rgb(89, 137, 250);
/* oklch */ color: oklch(65.2% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#97aafc',
    500: '#5989fa',
    950: '#000000',
  },
}
SCSS
$custom: #5989fa;
$custom-light: #97aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5989fa",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 222.112,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.17611,
    "h": 264.7
  },
  "luminance": 0.26917
}

Semantic roles & 50–950 ramp

primary
#5989FA
secondary
#F1E2BD
accent
#A100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5989FA

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

Preview Lab → · Contrast checker → · Palette generator →

#5989FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva