#5E5BF8#5E5BF8

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

Color values

HEX#5E5BF8
RGBrgb(94, 91, 248)
HSLhsl(241, 92%, 66%)
HSVhsv(241, 63%, 97%)
CMYKcmyk(62.1%, 63.3%, 0%, 2.7%)
CIE-LABlab(47.80, 46.62, -78.16)
CIE-LCHlch(47.80, 91.01, 300.81°)
OKLaboklab(56.93% 0.0286 -0.2252)
OKLCHoklch(56.93% 0.227 277.2)
XYZxyz(25.2950, 16.6371, 90.6670)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BF8 #F5F85B
analogous
#5BA7F8 #5E5BF8 #AC5BF8
triadic
#5E5BF8 #F85E5B #5BF85E
tetradic
#5E5BF8 #F85BA7 #F5F85B #5BF8AC
square
#5E5BF8 #F85BA7 #F5F85B #5BF8AC
split-complementary
#5E5BF8 #F8AC5B #A7F85B
monochromatic
#0D09D0 #2420F5 #5E5BF8 #9896FB #D1D0FD

Accessibility & contrast

On white

4.85
#5E5BF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5E5BF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BF8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BF8#FFFFFF#000000##FFFFFF
##5E5BF81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#006BF5
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5bf8;
/* rgb */ color: rgb(94, 91, 248);
/* oklch */ color: oklch(56.9% 0.227 277.2);
Tailwind
colors: {
  custom: {
    50: '#9b8afc',
    500: '#5e5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bf8;
$custom-light: #9b8afc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bf8",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 241.146,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.22703,
    "h": 277.2
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#5E5BF8
secondary
#F0F1BE
accent
#E600E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5E5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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