#5E4BCB#5E4BCB

#5E4BCB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.7% C 0.190 H 284.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5E4BCB
RGBrgb(94, 75, 203)
HSLhsl(249, 55%, 55%)
HSVhsv(249, 63%, 80%)
CMYKcmyk(53.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(40.77, 41.94, -64.06)
CIE-LCHlch(40.77, 76.57, 303.21°)
OKLaboklab(50.71% 0.0463 -0.1839)
OKLCHoklch(50.71% 0.19 284.1)
XYZxyz(17.9084, 11.7226, 57.8074)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BCB #B8CB4B
analogous
#4B78CB #5E4BCB #9E4BCB
triadic
#5E4BCB #CB5E4B #4BCB5E
tetradic
#5E4BCB #CB4B78 #B8CB4B #4BCB9E
square
#5E4BCB #CB4B78 #B8CB4B #4BCB9E
split-complementary
#5E4BCB #CB9E4B #78CB4B
monochromatic
#302379 #4231A8 #5E4BCB #887AD9 #B3AAE6

Accessibility & contrast

On white

6.28
#5E4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5E4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BCB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BCB#FFFFFF#000000##FFFFFF
##5E4BCB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#2F6A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4bcb;
/* rgb */ color: rgb(94, 75, 203);
/* oklch */ color: oklch(50.7% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5e4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bcb;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bcb",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 248.906,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.18962,
    "h": 284.1
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#5E4BCB
secondary
#CCD49E
accent
#DF49C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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