#5E5FF7#5E5FF7

#5E5FF7 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.5% C 0.221 H 276.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5E5FF7
RGBrgb(94, 95, 247)
HSLhsl(240, 91%, 67%)
HSVhsv(240, 62%, 97%)
CMYKcmyk(61.9%, 61.5%, 0%, 3.1%)
CIE-LABlab(48.61, 43.96, -76.28)
CIE-LCHlch(48.61, 88.04, 299.96°)
OKLaboklab(57.49% 0.0254 -0.2197)
OKLCHoklch(57.49% 0.221 276.6)
XYZxyz(25.4913, 17.2774, 89.9692)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FF7 #F7F65E
analogous
#5EACF7 #5E5FF7 #AA5EF7
triadic
#5E5FF7 #F75E5F #5FF75E
tetradic
#5E5FF7 #F75EAC #F7F65E #5EF7AA
square
#5E5FF7 #F75EAC #F7F65E #5EF7AA
split-complementary
#5E5FF7 #F7AA5E #ACF75E
monochromatic
#0A0CD0 #2425F4 #5E5FF7 #9899FA #D3D3FD

Accessibility & contrast

On white

4.71
#5E5FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5E5FF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FF7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FF7#FFFFFF#000000##FFFFFF
##5E5FF71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006DF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e5ff7;
/* rgb */ color: rgb(94, 95, 247);
/* oklch */ color: oklch(57.5% 0.221 276.6);
Tailwind
colors: {
  custom: {
    50: '#9b8dfb',
    500: '#5e5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ff7;
$custom-light: #9b8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ff7",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 239.608,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.22117,
    "h": 276.6
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#5E5FF7
secondary
#F1F1C0
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5E5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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