#5E89F4#5E89F4

#5E89F4 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.1% C 0.166 H 265.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5E89F4
RGBrgb(94, 137, 244)
HSLhsl(223, 87%, 66%)
HSVhsv(223, 61%, 96%)
CMYKcmyk(61.5%, 43.9%, 0%, 4.3%)
CIE-LABlab(58.79, 17.63, -58.17)
CIE-LCHlch(58.79, 60.78, 286.86°)
OKLaboklab(65.08% -0.0129 -0.166)
OKLCHoklch(65.08% 0.166 265.5)
XYZxyz(29.8853, 26.8000, 89.1684)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F4 #F4C95E
analogous
#5ED4F4 #5E89F4 #7E5EF4
triadic
#5E89F4 #F45E89 #89F45E
tetradic
#5E89F4 #F45ED4 #F4C95E #5EF47E
square
#5E89F4 #F45ED4 #F4C95E #5EF47E
split-complementary
#5E89F4 #F47E5E #D4F45E
monochromatic
#0E44CA #255FF0 #5E89F4 #97B3F8 #D1DDFC

Accessibility & contrast

On white

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

On black

6.36
#5E89F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F4#FFFFFF#000000##000000
##5E89F41.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#3F87F2
Tritanopia (blue-blind)
#00A1B3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e89f4;
/* rgb */ color: rgb(94, 137, 244);
/* oklch */ color: oklch(65.1% 0.166 265.5);
Tailwind
colors: {
  custom: {
    50: '#98aaf8',
    500: '#5e89f4',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f4;
$custom-light: #98aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f4",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 244
  },
  "hsl": {
    "h": 222.8,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65083,
    "c": 0.16649,
    "h": 265.5
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#5E89F4
secondary
#EFE1BE
accent
#A302E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E89F4

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

Preview Lab → · Contrast checker → · Palette generator →

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