#5989DF#5989DF

#5989DF is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.6% C 0.140 H 261.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5989DF
RGBrgb(89, 137, 223)
HSLhsl(219, 68%, 61%)
HSVhsv(219, 60%, 87%)
CMYKcmyk(60.1%, 38.6%, 0%, 12.5%)
CIE-LABlab(57.41, 9.74, -48.72)
CIE-LCHlch(57.41, 49.69, 281.31°)
OKLaboklab(63.58% -0.0213 -0.1384)
OKLCHoklch(63.58% 0.14 261.2)
XYZxyz(26.3801, 25.3406, 73.2988)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5989DF #DFAF59
analogous
#59CCDF #5989DF #6C59DF
triadic
#5989DF #DF5989 #89DF59
tetradic
#5989DF #DF59CC #DFAF59 #59DF6C
square
#5989DF #DF59CC #DFAF59 #59DF6C
split-complementary
#5989DF #DF6C59 #CCDF59
monochromatic
#1F4D9F #2965D2 #5989DF #8CADE9 #C0D2F3

Accessibility & contrast

On white

3.46
#5989DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5989DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5989DF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5989DF#FFFFFF#000000##000000
##5989DF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6491E2
Deuteranopia (green-blind)
#5284DD
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5989df;
/* rgb */ color: rgb(89, 137, 223);
/* oklch */ color: oklch(63.6% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#93abe9',
    500: '#5989df',
    950: '#000000',
  },
}
SCSS
$custom: #5989df;
$custom-light: #93abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5989df",
  "rgb": {
    "r": 89,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 218.507,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6358,
    "c": 0.14,
    "h": 261.2
  },
  "luminance": 0.25343
}

Semantic roles & 50–950 ramp

primary
#5989DF
secondary
#E3D1B1
accent
#8D16D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5989DF

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

Preview Lab → · Contrast checker → · Palette generator →

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