#5E4BD2#5E4BD2

#5E4BD2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.3% C 0.198 H 283.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD2
RGBrgb(94, 75, 210)
HSLhsl(248, 60%, 56%)
HSVhsv(248, 64%, 82%)
CMYKcmyk(55.2%, 64.3%, 0%, 17.6%)
CIE-LABlab(41.32, 44.07, -67.21)
CIE-LCHlch(41.32, 80.37, 303.25°)
OKLaboklab(51.28% 0.0456 -0.1931)
OKLCHoklch(51.28% 0.198 283.3)
XYZxyz(18.7615, 12.0638, 62.3002)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD2 #BFD24B
analogous
#4B7BD2 #5E4BD2 #A14BD2
triadic
#5E4BD2 #D25E4B #4BD25E
tetradic
#5E4BD2 #D24B7B #BFD24B #4BD2A1
square
#5E4BD2 #D24B7B #BFD24B #4BD2A1
split-complementary
#5E4BD2 #D2A14B #7BD24B
monochromatic
#2E2182 #402DB3 #5E4BD2 #8A7CDE #B6ADEA

Accessibility & contrast

On white

6.15
#5E4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5E4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BD2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BD2#FFFFFF#000000##FFFFFF
##5E4BD21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#276D88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e4bd2;
/* rgb */ color: rgb(94, 75, 210);
/* oklch */ color: oklch(51.3% 0.198 283.3);
Tailwind
colors: {
  custom: {
    50: '#967ee1',
    500: '#5e4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd2;
$custom-light: #967ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd2",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 248.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.19845,
    "h": 283.3
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#5E4BD2
secondary
#D0D8A0
accent
#E345CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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