#5E89DC#5E89DC

#5E89DC is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.7% C 0.134 H 262.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5E89DC
RGBrgb(94, 137, 220)
HSLhsl(220, 64%, 62%)
HSVhsv(220, 57%, 86%)
CMYKcmyk(57.3%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.50, 9.74, -46.88)
CIE-LCHlch(57.50, 47.88, 281.74°)
OKLaboklab(63.67% -0.0175 -0.1329)
OKLCHoklch(63.67% 0.134 262.5)
XYZxyz(26.4756, 25.4361, 71.2107)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89DC #DCB15E
analogous
#5EC8DC #5E89DC #725EDC
triadic
#5E89DC #DC5E89 #89DC5E
tetradic
#5E89DC #DC5EC8 #DCB15E #5EDC72
square
#5E89DC #DC5EC8 #DCB15E #5EDC72
split-complementary
#5E89DC #DC725E #C8DC5E
monochromatic
#224C9D #2D65D0 #5E89DC #90AEE7 #C3D3F2

Accessibility & contrast

On white

3.45
#5E89DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5E89DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89DC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89DC#FFFFFF#000000##000000
##5E89DC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#5685DA
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e89dc;
/* rgb */ color: rgb(94, 137, 220);
/* oklch */ color: oklch(63.7% 0.134 262.5);
Tailwind
colors: {
  custom: {
    50: '#95abe7',
    500: '#5e89dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e89dc;
$custom-light: #95abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89dc",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 219.524,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.13405,
    "h": 262.5
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#5E89DC
secondary
#E2D2B3
accent
#8F19CC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5E89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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