#5E5FE9#5E5FE9

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

Color values

HEX#5E5FE9
RGBrgb(94, 95, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(59.7%, 59.2%, 0%, 8.6%)
CIE-LABlab(47.55, 39.49, -70.15)
CIE-LCHlch(47.55, 80.50, 299.37°)
OKLaboklab(56.39% 0.026 -0.2017)
OKLCHoklch(56.39% 0.203 277.4)
XYZxyz(23.4115, 16.4455, 79.0156)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FE9 #E9E85E
analogous
#5EA5E9 #5E5FE9 #A35EE9
triadic
#5E5FE9 #E95E5F #5FE95E
tetradic
#5E5FE9 #E95EA5 #E9E85E #5EE9A3
square
#5E5FE9 #E95EA5 #E9E85E #5EE9A3
split-complementary
#5E5FE9 #E9A35E #A5E95E
monochromatic
#191AB4 #2829E2 #5E5FE9 #9495F0 #CACAF8

Accessibility & contrast

On white

4.90
#5E5FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5E5FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FE9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FE9#FFFFFF#000000##FFFFFF
##5E5FE91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5fe9;
/* rgb */ color: rgb(94, 95, 233);
/* oklch */ color: oklch(56.4% 0.203 277.4);
Tailwind
colors: {
  custom: {
    50: '#988cf1',
    500: '#5e5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fe9;
$custom-light: #988cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fe9",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 239.568,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.20336,
    "h": 277.4
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#5E5FE9
secondary
#EAE9B9
accent
#D70DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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