#5E5EEF#5E5EEF

#5E5EEF is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.212 H 277.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E5EEF
RGBrgb(94, 94, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(60.7%, 60.7%, 0%, 6.3%)
CIE-LABlab(47.77, 42.00, -73.17)
CIE-LCHlch(47.77, 84.37, 299.86°)
OKLaboklab(56.69% 0.0267 -0.2106)
OKLCHoklch(56.69% 0.212 277.2)
XYZxyz(24.1938, 16.6152, 83.5767)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EEF #EFEF5E
analogous
#5EA6EF #5E5EEF #A65EEF
triadic
#5E5EEF #EF5E5E #5EEF5E
tetradic
#5E5EEF #EF5EA6 #EFEF5E #5EEFA6
square
#5E5EEF #EF5EA6 #EFEF5E #5EEFA6
split-complementary
#5E5EEF #EFA65E #A6EF5E
monochromatic
#1313C0 #2626E9 #5E5EEF #9696F5 #CDCDFA

Accessibility & contrast

On white

4.86
#5E5EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5E5EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EEF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EEF#FFFFFF#000000##FFFFFF
##5E5EEF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5eef;
/* rgb */ color: rgb(94, 94, 239);
/* oklch */ color: oklch(56.7% 0.212 277.2);
Tailwind
colors: {
  custom: {
    50: '#998cf5',
    500: '#5e5eef',
    950: '#000000',
  },
}
SCSS
$custom: #5e5eef;
$custom-light: #998cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5eef",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.21224,
    "h": 277.2
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#5E5EEF
secondary
#EDEDBC
accent
#DE07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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