#5E5FED#5E5FED

#5E5FED is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.208 H 277.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5E5FED
RGBrgb(94, 95, 237)
HSLhsl(240, 80%, 65%)
HSVhsv(240, 60%, 93%)
CMYKcmyk(60.3%, 59.9%, 0%, 7.1%)
CIE-LABlab(47.85, 40.77, -71.92)
CIE-LCHlch(47.85, 82.67, 299.55°)
OKLaboklab(56.7% 0.0259 -0.2069)
OKLCHoklch(56.7% 0.208 277.1)
XYZxyz(23.9894, 16.6767, 82.0591)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FED #EDEC5E
analogous
#5EA7ED #5E5FED #A45EED
triadic
#5E5FED #ED5E5F #5FED5E
tetradic
#5E5FED #ED5EA7 #EDEC5E #5EEDA4
square
#5E5FED #ED5EA7 #EDEC5E #5EEDA4
split-complementary
#5E5FED #EDA45E #A7ED5E
monochromatic
#1516BC #2728E7 #5E5FED #9596F3 #CCCCF9

Accessibility & contrast

On white

4.84
#5E5FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5E5FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FED
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FED#FFFFFF#000000##FFFFFF
##5E5FED1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5fed;
/* rgb */ color: rgb(94, 95, 237);
/* oklch */ color: oklch(56.7% 0.208 277.1);
Tailwind
colors: {
  custom: {
    50: '#998cf4',
    500: '#5e5fed',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fed;
$custom-light: #998cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fed",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 239.58,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.20849,
    "h": 277.1
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#5E5FED
secondary
#ECEBBB
accent
#DB09DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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