#5E89F2#5E89F2

#5E89F2 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.164 H 265.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5E89F2
RGBrgb(94, 137, 242)
HSLhsl(223, 85%, 66%)
HSVhsv(223, 61%, 95%)
CMYKcmyk(61.2%, 43.4%, 0%, 5.1%)
CIE-LABlab(58.68, 16.97, -57.25)
CIE-LCHlch(58.68, 59.71, 286.51°)
OKLaboklab(64.96% -0.0133 -0.1633)
OKLCHoklch(64.96% 0.164 265.4)
XYZxyz(29.5832, 26.6792, 87.5778)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89F2 #F2C75E
analogous
#5ED3F2 #5E89F2 #7D5EF2
triadic
#5E89F2 #F25E89 #89F25E
tetradic
#5E89F2 #F25ED3 #F2C75E #5EF27D
square
#5E89F2 #F25ED3 #F2C75E #5EF27D
split-complementary
#5E89F2 #F27D5E #D3F25E
monochromatic
#1045C6 #255FED #5E89F2 #97B3F7 #CFDCFB

Accessibility & contrast

On white

3.31
#5E89F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5E89F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89F2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89F2#FFFFFF#000000##000000
##5E89F21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#4287F0
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e89f2;
/* rgb */ color: rgb(94, 137, 242);
/* oklch */ color: oklch(65.0% 0.164 265.4);
Tailwind
colors: {
  custom: {
    50: '#98aaf7',
    500: '#5e89f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e89f2;
$custom-light: #98aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89f2",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 222.568,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6496,
    "c": 0.16382,
    "h": 265.4
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#5E89F2
secondary
#EEE0BD
accent
#A104E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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