#5E5FEE#5E5FEE

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

Color values

HEX#5E5FEE
RGBrgb(94, 95, 238)
HSLhsl(240, 81%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.5%, 60.1%, 0%, 6.7%)
CIE-LABlab(47.92, 41.09, -72.36)
CIE-LCHlch(47.92, 83.21, 299.59°)
OKLaboklab(56.78% 0.0259 -0.2082)
OKLCHoklch(56.78% 0.21 277.1)
XYZxyz(24.1359, 16.7353, 82.8307)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FEE #EEED5E
analogous
#5EA7EE #5E5FEE #A55EEE
triadic
#5E5FEE #EE5E5F #5FEE5E
tetradic
#5E5FEE #EE5EA7 #EEED5E #5EEEA5
square
#5E5FEE #EE5EA7 #EEED5E #5EEEA5
split-complementary
#5E5FEE #EEA55E #A7EE5E
monochromatic
#1415BE #2728E8 #5E5FEE #9596F4 #CDCDFA

Accessibility & contrast

On white

4.83
#5E5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5E5FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FEE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FEE#FFFFFF#000000##FFFFFF
##5E5FEE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5fee;
/* rgb */ color: rgb(94, 95, 238);
/* oklch */ color: oklch(56.8% 0.210 277.1);
Tailwind
colors: {
  custom: {
    50: '#998cf5',
    500: '#5e5fee',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fee;
$custom-light: #998cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fee",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 239.583,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.20977,
    "h": 277.1
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#5E5FEE
secondary
#ECECBB
accent
#DC08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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