#5E4BCF#5E4BCF

#5E4BCF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 51.0% C 0.195 H 283.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5E4BCF
RGBrgb(94, 75, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 64%, 81%)
CMYKcmyk(54.6%, 63.8%, 0%, 18.8%)
CIE-LABlab(41.08, 43.15, -65.87)
CIE-LCHlch(41.08, 78.75, 303.23°)
OKLaboklab(51.03% 0.0459 -0.1892)
OKLCHoklch(51.03% 0.195 283.6)
XYZxyz(18.3912, 11.9158, 60.3503)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BCF #BCCF4B
analogous
#4B7ACF #5E4BCF #A04BCF
triadic
#5E4BCF #CF5E4B #4BCF5E
tetradic
#5E4BCF #CF4B7A #BCCF4B #4BCFA0
square
#5E4BCF #CF4B7A #BCCF4B #4BCFA0
split-complementary
#5E4BCF #CFA04B #7ACF4B
monochromatic
#2F227E #412EAE #5E4BCF #897BDC #B4ACE9

Accessibility & contrast

On white

6.21
#5E4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BCF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BCF#FFFFFF#000000##FFFFFF
##5E4BCF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#2A6C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e4bcf;
/* rgb */ color: rgb(94, 75, 207);
/* oklch */ color: oklch(51.0% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#967edf',
    500: '#5e4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bcf;
$custom-light: #967edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bcf",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 248.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.19468,
    "h": 283.6
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#5E4BCF
secondary
#CFD69F
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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