#5E5BF2#5E5BF2

#5E5BF2 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.220 H 277.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5E5BF2
RGBrgb(94, 91, 242)
HSLhsl(241, 85%, 65%)
HSVhsv(241, 62%, 95%)
CMYKcmyk(61.2%, 62.4%, 0%, 5.1%)
CIE-LABlab(47.33, 44.72, -75.58)
CIE-LCHlch(47.33, 87.82, 300.61°)
OKLaboklab(56.44% 0.029 -0.2176)
OKLCHoklch(56.44% 0.22 277.6)
XYZxyz(24.3790, 16.2708, 85.8431)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BF2 #EFF25B
analogous
#5BA3F2 #5E5BF2 #A95BF2
triadic
#5E5BF2 #F25E5B #5BF25E
tetradic
#5E5BF2 #F25BA3 #EFF25B #5BF2A9
square
#5E5BF2 #F25BA3 #EFF25B #5BF2A9
split-complementary
#5E5BF2 #F2A95B #A3F25B
monochromatic
#130FC3 #2622EE #5E5BF2 #9694F6 #CDCCFB

Accessibility & contrast

On white

4.94
#5E5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5E5BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BF2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BF2#FFFFFF#000000##FFFFFF
##5E5BF21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e5bf2;
/* rgb */ color: rgb(94, 91, 242);
/* oklch */ color: oklch(56.4% 0.220 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a8af7',
    500: '#5e5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bf2;
$custom-light: #9a8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bf2",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 241.192,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.21956,
    "h": 277.6
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#5E5BF2
secondary
#EDEEBB
accent
#E204DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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