#5E5BF5#5E5BF5

#5E5BF5 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.223 H 277.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5BF5
RGBrgb(94, 91, 245)
HSLhsl(241, 89%, 66%)
HSVhsv(241, 63%, 96%)
CMYKcmyk(61.6%, 62.9%, 0%, 3.9%)
CIE-LABlab(47.56, 45.67, -76.87)
CIE-LCHlch(47.56, 89.41, 300.71°)
OKLaboklab(56.68% 0.0288 -0.2214)
OKLCHoklch(56.68% 0.223 277.4)
XYZxyz(24.8333, 16.4525, 88.2355)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BF5 #F2F55B
analogous
#5BA5F5 #5E5BF5 #AB5BF5
triadic
#5E5BF5 #F55E5B #5BF55E
tetradic
#5E5BF5 #F55BA5 #F2F55B #5BF5AB
square
#5E5BF5 #F55BA5 #F2F55B #5BF5AB
split-complementary
#5E5BF5 #F5AB5B #A5F55B
monochromatic
#100CC9 #2521F1 #5E5BF5 #9795F9 #CFCEFC

Accessibility & contrast

On white

4.89
#5E5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5E5BF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BF5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BF5#FFFFFF#000000##FFFFFF
##5E5BF51.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5bf5;
/* rgb */ color: rgb(94, 91, 245);
/* oklch */ color: oklch(56.7% 0.223 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b8afa',
    500: '#5e5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bf5;
$custom-light: #9b8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bf5",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 241.169,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.22331,
    "h": 277.4
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#5E5BF5
secondary
#EEEFBC
accent
#E500E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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