#5E50CC#5E50CC

#5E50CC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.185 H 282.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5E50CC
RGBrgb(94, 80, 204)
HSLhsl(247, 55%, 56%)
HSVhsv(247, 61%, 80%)
CMYKcmyk(53.9%, 60.8%, 0%, 20%)
CIE-LABlab(41.96, 39.30, -62.71)
CIE-LCHlch(41.96, 74.01, 302.08°)
OKLaboklab(51.6% 0.0413 -0.1799)
OKLCHoklch(51.6% 0.185 282.9)
XYZxyz(18.3805, 12.4756, 58.5545)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50CC #BECC50
analogous
#5080CC #5E50CC #9C50CC
triadic
#5E50CC #CC5E50 #50CC5E
tetradic
#5E50CC #CC5080 #BECC50 #50CC9C
square
#5E50CC #CC5080 #BECC50 #50CC9C
split-complementary
#5E50CC #CC9C50 #80CC50
monochromatic
#2E247D #4032AD #5E50CC #8A7FDA #B5AFE8

Accessibility & contrast

On white

6.01
#5E50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5E50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50CC#FFFFFF#000000##FFFFFF
##5E50CC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#2D6E86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e50cc;
/* rgb */ color: rgb(94, 80, 204);
/* oklch */ color: oklch(51.6% 0.185 282.9);
Tailwind
colors: {
  custom: {
    50: '#9582dc',
    500: '#5e50cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e50cc;
$custom-light: #9582dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50cc",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 246.774,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.18456,
    "h": 282.9
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#5E50CC
secondary
#D0D6A2
accent
#DE4ACD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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