#5E89F5#5E89F5

#5E89F5 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.1% C 0.168 H 265.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5E89F5
RGBrgb(94, 137, 245)
HSLhsl(223, 88%, 66%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(61.6%, 44.1%, 0%, 3.9%)
CIE-LABlab(58.85, 17.96, -58.63)
CIE-LCHlch(58.85, 61.32, 287.04°)
OKLaboklab(65.15% -0.0128 -0.1673)
OKLCHoklch(65.15% 0.168 265.6)
XYZxyz(30.0375, 26.8609, 89.9702)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F5 #F5CA5E
analogous
#5ED5F5 #5E89F5 #7F5EF5
triadic
#5E89F5 #F55E89 #89F55E
tetradic
#5E89F5 #F55ED5 #F5CA5E #5EF57F
square
#5E89F5 #F55ED5 #F5CA5E #5EF57F
split-complementary
#5E89F5 #F57F5E #D5F55E
monochromatic
#0D43CC #245FF1 #5E89F5 #98B3F9 #D1DDFC

Accessibility & contrast

On white

3.30
#5E89F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5E89F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F5#FFFFFF#000000##000000
##5E89F51.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#3E87F3
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e89f5;
/* rgb */ color: rgb(94, 137, 245);
/* oklch */ color: oklch(65.1% 0.168 265.6);
Tailwind
colors: {
  custom: {
    50: '#98aaf9',
    500: '#5e89f5',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f5;
$custom-light: #98aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f5",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 222.914,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65145,
    "c": 0.16784,
    "h": 265.6
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#5E89F5
secondary
#F0E2BF
accent
#A401E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E89F5

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

Preview Lab → · Contrast checker → · Palette generator →

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