#5E89F1#5E89F1

#5E89F1 is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.9% C 0.162 H 265.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5E89F1
RGBrgb(94, 137, 241)
HSLhsl(222, 84%, 66%)
HSVhsv(222, 61%, 95%)
CMYKcmyk(61%, 43.2%, 0%, 5.5%)
CIE-LABlab(58.62, 16.64, -56.78)
CIE-LCHlch(58.62, 59.17, 286.33°)
OKLaboklab(64.9% -0.0134 -0.1619)
OKLCHoklch(64.9% 0.162 265.3)
XYZxyz(29.4335, 26.6193, 86.7890)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F1 #F1C65E
analogous
#5ED2F1 #5E89F1 #7C5EF1
triadic
#5E89F1 #F15E89 #89F15E
tetradic
#5E89F1 #F15ED2 #F1C65E #5EF17C
square
#5E89F1 #F15ED2 #F1C65E #5EF17C
split-complementary
#5E89F1 #F17C5E #D2F15E
monochromatic
#1145C4 #2660EC #5E89F1 #96B2F6 #CFDCFB

Accessibility & contrast

On white

3.32
#5E89F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5E89F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F1#FFFFFF#000000##000000
##5E89F11.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F5
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e89f1;
/* rgb */ color: rgb(94, 137, 241);
/* oklch */ color: oklch(64.9% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#98aaf6',
    500: '#5e89f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f1;
$custom-light: #98aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f1",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 241
  },
  "hsl": {
    "h": 222.449,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64899,
    "c": 0.16247,
    "h": 265.3
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#5E89F1
secondary
#EEE0BD
accent
#A005E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5E89F1

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

Preview Lab → · Contrast checker → · Palette generator →

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