#5E4BCC#5E4BCC

#5E4BCC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.8% C 0.191 H 284.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E4BCC
RGBrgb(94, 75, 204)
HSLhsl(249, 56%, 55%)
HSVhsv(249, 63%, 80%)
CMYKcmyk(53.9%, 63.2%, 0%, 20%)
CIE-LABlab(40.85, 42.24, -64.52)
CIE-LCHlch(40.85, 77.12, 303.21°)
OKLaboklab(50.79% 0.0462 -0.1852)
OKLCHoklch(50.79% 0.191 284)
XYZxyz(18.0279, 11.7704, 58.4370)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BCC #B9CC4B
analogous
#4B79CC #5E4BCC #9E4BCC
triadic
#5E4BCC #CC5E4B #4BCC5E
tetradic
#5E4BCC #CC4B79 #B9CC4B #4BCC9E
square
#5E4BCC #CC4B79 #B9CC4B #4BCC9E
split-complementary
#5E4BCC #CC9E4B #79CC4B
monochromatic
#2F237A #4230AA #5E4BCC #897BDA #B3AAE7

Accessibility & contrast

On white

6.26
#5E4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E4BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BCC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BCC#FFFFFF#000000##FFFFFF
##5E4BCC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#2E6B85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4bcc;
/* rgb */ color: rgb(94, 75, 204);
/* oklch */ color: oklch(50.8% 0.191 284.0);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5e4bcc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bcc;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bcc",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 248.837,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.19089,
    "h": 284
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#5E4BCC
secondary
#CDD59E
accent
#DF49C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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