#5E5CF9#5E5CF9

#5E5CF9 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.2% C 0.227 H 277.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5CF9
RGBrgb(94, 92, 249)
HSLhsl(241, 93%, 67%)
HSVhsv(241, 63%, 98%)
CMYKcmyk(62.2%, 63.1%, 0%, 2.4%)
CIE-LABlab(48.10, 46.35, -78.23)
CIE-LCHlch(48.10, 90.93, 300.65°)
OKLaboklab(57.17% 0.0277 -0.2254)
OKLCHoklch(57.17% 0.227 277)
XYZxyz(25.5366, 16.8715, 91.5150)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CF9 #F7F95C
analogous
#5CA9F9 #5E5CF9 #AC5CF9
triadic
#5E5CF9 #F95E5C #5CF95E
tetradic
#5E5CF9 #F95CA9 #F7F95C #5CF9AC
square
#5E5CF9 #F95CA9 #F7F95C #5CF9AC
split-complementary
#5E5CF9 #F9AC5C #A9F95C
monochromatic
#0A08D3 #2421F7 #5E5CF9 #9897FB #D3D2FD

Accessibility & contrast

On white

4.80
#5E5CF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5E5CF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CF9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CF9#FFFFFF#000000##FFFFFF
##5E5CF91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#006BF6
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5cf9;
/* rgb */ color: rgb(94, 92, 249);
/* oklch */ color: oklch(57.2% 0.227 277.0);
Tailwind
colors: {
  custom: {
    50: '#9b8bfc',
    500: '#5e5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cf9;
$custom-light: #9b8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cf9",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 240.764,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.22712,
    "h": 277
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#5E5CF9
secondary
#F1F2BF
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5E5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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