#5E5BD2#5E5BD2

#5E5BD2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.178 H 279.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5E5BD2
RGBrgb(94, 91, 210)
HSLhsl(242, 57%, 59%)
HSVhsv(242, 57%, 82%)
CMYKcmyk(55.2%, 56.7%, 0%, 17.6%)
CIE-LABlab(44.96, 34.57, -61.29)
CIE-LCHlch(44.96, 70.37, 299.42°)
OKLaboklab(53.95% 0.0301 -0.1757)
OKLCHoklch(53.95% 0.178 279.7)
XYZxyz(19.9864, 14.5137, 62.7085)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BD2 #CFD25B
analogous
#5B94D2 #5E5BD2 #9A5BD2
triadic
#5E5BD2 #D25E5B #5BD25E
tetradic
#5E5BD2 #D25B94 #CFD25B #5BD29A
square
#5E5BD2 #D25B94 #CFD25B #5BD29A
split-complementary
#5E5BD2 #D29A5B #94D25B
monochromatic
#29268C #3734BC #5E5BD2 #8D8BDF #BCBBEC

Accessibility & contrast

On white

5.38
#5E5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5E5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BD2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BD2#FFFFFF#000000##FFFFFF
##5E5BD21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#24778E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e5bd2;
/* rgb */ color: rgb(94, 91, 210);
/* oklch */ color: oklch(53.9% 0.178 279.7);
Tailwind
colors: {
  custom: {
    50: '#9589e1',
    500: '#5e5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bd2;
$custom-light: #9589e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bd2",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 241.513,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.17823,
    "h": 279.7
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#5E5BD2
secondary
#DBDCAD
accent
#E048DC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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