#5E5FF5#5E5FF5

#5E5FF5 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.219 H 276.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E5FF5
RGBrgb(94, 95, 245)
HSLhsl(240, 88%, 66%)
HSVhsv(240, 62%, 96%)
CMYKcmyk(61.6%, 61.2%, 0%, 3.9%)
CIE-LABlab(48.45, 43.32, -75.42)
CIE-LCHlch(48.45, 86.97, 299.88°)
OKLaboklab(57.33% 0.0255 -0.2172)
OKLCHoklch(57.33% 0.219 276.7)
XYZxyz(25.1844, 17.1547, 88.3525)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FF5 #F5F45E
analogous
#5EABF5 #5E5FF5 #A95EF5
triadic
#5E5FF5 #F55E5F #5FF55E
tetradic
#5E5FF5 #F55EAB #F5F45E #5EF5A9
square
#5E5FF5 #F55EAB #F5F45E #5EF5A9
split-complementary
#5E5FF5 #F5A95E #ABF55E
monochromatic
#0D0ECC #2426F1 #5E5FF5 #9898F9 #D1D2FC

Accessibility & contrast

On white

4.74
#5E5FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E5FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FF5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FF5#FFFFFF#000000##FFFFFF
##5E5FF51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e5ff5;
/* rgb */ color: rgb(94, 95, 245);
/* oklch */ color: oklch(57.3% 0.219 276.7);
Tailwind
colors: {
  custom: {
    50: '#9a8df9',
    500: '#5e5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ff5;
$custom-light: #9a8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ff5",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 239.603,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.21866,
    "h": 276.7
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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