#5E5EF5#5E5EF5

#5E5EF5 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.220 H 276.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5E5EF5
RGBrgb(94, 94, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.6%, 61.6%, 0%, 3.9%)
CIE-LABlab(48.23, 43.91, -75.78)
CIE-LCHlch(48.23, 87.59, 300.09°)
OKLaboklab(57.17% 0.0264 -0.2182)
OKLCHoklch(57.17% 0.22 276.9)
XYZxyz(25.0949, 16.9757, 88.3227)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EF5 #F5F55E
analogous
#5EAAF5 #5E5EF5 #AA5EF5
triadic
#5E5EF5 #F55E5E #5EF55E
tetradic
#5E5EF5 #F55EAA #F5F55E #5EF5AA
square
#5E5EF5 #F55EAA #F5F55E #5EF5AA
split-complementary
#5E5EF5 #F5AA5E #AAF55E
monochromatic
#0D0DCC #2424F1 #5E5EF5 #9898F9 #D1D1FC

Accessibility & contrast

On white

4.78
#5E5EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5E5EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EF5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EF5#FFFFFF#000000##FFFFFF
##5E5EF51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5ef5;
/* rgb */ color: rgb(94, 94, 245);
/* oklch */ color: oklch(57.2% 0.220 276.9);
Tailwind
colors: {
  custom: {
    50: '#9a8cfa',
    500: '#5e5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ef5;
$custom-light: #9a8cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ef5",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.21983,
    "h": 276.9
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#5E5EF5
secondary
#F0F0BF
accent
#E501E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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