#5E89F7#5E89F7

#5E89F7 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.3% C 0.171 H 265.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E89F7
RGBrgb(94, 137, 247)
HSLhsl(223, 91%, 67%)
HSVhsv(223, 62%, 97%)
CMYKcmyk(61.9%, 44.5%, 0%, 3.1%)
CIE-LABlab(58.96, 18.63, -59.55)
CIE-LCHlch(58.96, 62.40, 287.37°)
OKLaboklab(65.27% -0.0124 -0.1701)
OKLCHoklch(65.27% 0.171 265.8)
XYZxyz(30.3445, 26.9837, 91.5869)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F7 #F7CC5E
analogous
#5ED6F7 #5E89F7 #805EF7
triadic
#5E89F7 #F75E89 #89F75E
tetradic
#5E89F7 #F75ED6 #F7CC5E #5EF780
square
#5E89F7 #F75ED6 #F7CC5E #5EF780
split-complementary
#5E89F7 #F7805E #D6F75E
monochromatic
#0A42D0 #245EF4 #5E89F7 #98B4FA #D3DEFD

Accessibility & contrast

On white

3.28
#5E89F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5E89F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F7#FFFFFF#000000##000000
##5E89F71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FB
Deuteranopia (green-blind)
#3B87F5
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e89f7;
/* rgb */ color: rgb(94, 137, 247);
/* oklch */ color: oklch(65.3% 0.171 265.8);
Tailwind
colors: {
  custom: {
    50: '#99aafa',
    500: '#5e89f7',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f7;
$custom-light: #99aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f7",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 223.137,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.17052,
    "h": 265.8
  },
  "luminance": 0.26986
}

Semantic roles & 50–950 ramp

primary
#5E89F7
secondary
#F1E3C0
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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