#5E5FE8#5E5FE8

#5E5FE8 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.3% C 0.202 H 277.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E5FE8
RGBrgb(94, 95, 232)
HSLhsl(240, 75%, 64%)
HSVhsv(240, 59%, 91%)
CMYKcmyk(59.5%, 59.1%, 0%, 9%)
CIE-LABlab(47.48, 39.17, -69.71)
CIE-LCHlch(47.48, 79.96, 299.33°)
OKLaboklab(56.31% 0.026 -0.2004)
OKLCHoklch(56.31% 0.202 277.4)
XYZxyz(23.2691, 16.3885, 78.2654)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FE8 #E8E75E
analogous
#5EA4E8 #5E5FE8 #A25EE8
triadic
#5E5FE8 #E85E5F #5FE85E
tetradic
#5E5FE8 #E85EA4 #E8E75E #5EE8A2
square
#5E5FE8 #E85EA4 #E8E75E #5EE8A2
split-complementary
#5E5FE8 #E8A25E #A4E85E
monochromatic
#191BB2 #282AE0 #5E5FE8 #9494F0 #C9C9F7

Accessibility & contrast

On white

4.91
#5E5FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5E5FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FE8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FE8#FFFFFF#000000##FFFFFF
##5E5FE81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5fe8;
/* rgb */ color: rgb(94, 95, 232);
/* oklch */ color: oklch(56.3% 0.202 277.4);
Tailwind
colors: {
  custom: {
    50: '#988cf0',
    500: '#5e5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fe8;
$custom-light: #988cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fe8",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 239.565,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.20206,
    "h": 277.4
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#5E5FE8
secondary
#E9E9B9
accent
#D60ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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