#5E89F6#5E89F6

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

Color values

HEX#5E89F6
RGBrgb(94, 137, 246)
HSLhsl(223, 89%, 67%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(61.8%, 44.3%, 0%, 3.5%)
CIE-LABlab(58.90, 18.30, -59.09)
CIE-LCHlch(58.90, 61.86, 287.20°)
OKLaboklab(65.21% -0.0126 -0.1687)
OKLCHoklch(65.21% 0.169 265.7)
XYZxyz(30.1906, 26.9221, 90.7764)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F6 #F6CB5E
analogous
#5ED5F6 #5E89F6 #7F5EF6
triadic
#5E89F6 #F65E89 #89F65E
tetradic
#5E89F6 #F65ED5 #F6CB5E #5EF67F
square
#5E89F6 #F65ED5 #F6CB5E #5EF67F
split-complementary
#5E89F6 #F67F5E #D5F65E
monochromatic
#0C43CE #245FF3 #5E89F6 #98B3F9 #D2DEFC

Accessibility & contrast

On white

3.29
#5E89F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#5E89F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F6#FFFFFF#000000##000000
##5E89F61.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)
#5595FA
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e89f6;
/* rgb */ color: rgb(94, 137, 246);
/* oklch */ color: oklch(65.2% 0.169 265.7);
Tailwind
colors: {
  custom: {
    50: '#98aafa',
    500: '#5e89f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f6;
$custom-light: #98aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f6",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 223.026,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65206,
    "c": 0.16917,
    "h": 265.7
  },
  "luminance": 0.26925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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