#5E89EC#5E89EC

#5E89EC is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.156 H 264.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5E89EC
RGBrgb(94, 137, 236)
HSLhsl(222, 79%, 65%)
HSVhsv(222, 60%, 93%)
CMYKcmyk(60.2%, 41.9%, 0%, 7.5%)
CIE-LABlab(58.34, 14.98, -54.45)
CIE-LCHlch(58.34, 56.48, 285.38°)
OKLaboklab(64.6% -0.0143 -0.1551)
OKLCHoklch(64.6% 0.156 264.7)
XYZxyz(28.6969, 26.3247, 82.9095)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89EC #ECC15E
analogous
#5ED0EC #5E89EC #7A5EEC
triadic
#5E89EC #EC5E89 #89EC5E
tetradic
#5E89EC #EC5ED0 #ECC15E #5EEC7A
square
#5E89EC #EC5ED0 #ECC15E #5EEC7A
split-complementary
#5E89EC #EC7A5E #D0EC5E
monochromatic
#1648BA #2761E6 #5E89EC #95B1F2 #CBD9F9

Accessibility & contrast

On white

3.35
#5E89EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5E89EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89EC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89EC#FFFFFF#000000##000000
##5E89EC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#4886EA
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e89ec;
/* rgb */ color: rgb(94, 137, 236);
/* oklch */ color: oklch(64.6% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#97abf3',
    500: '#5e89ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e89ec;
$custom-light: #97abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89ec",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 221.831,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64597,
    "c": 0.15574,
    "h": 264.7
  },
  "luminance": 0.26327
}

Semantic roles & 50–950 ramp

primary
#5E89EC
secondary
#EBDDBB
accent
#9C0ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5E89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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