#5E50CA#5E50CA

#5E50CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.182 H 283.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E50CA
RGBrgb(94, 80, 202)
HSLhsl(247, 54%, 55%)
HSVhsv(247, 60%, 79%)
CMYKcmyk(53.5%, 60.4%, 0%, 20.8%)
CIE-LABlab(41.81, 38.69, -61.79)
CIE-LCHlch(41.81, 72.90, 302.05°)
OKLaboklab(51.45% 0.0414 -0.1772)
OKLCHoklch(51.45% 0.182 283.1)
XYZxyz(18.1422, 12.3802, 57.2993)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50CA #BCCA50
analogous
#507FCA #5E50CA #9B50CA
triadic
#5E50CA #CA5E50 #50CA5E
tetradic
#5E50CA #CA507F #BCCA50 #50CA9B
square
#5E50CA #CA507F #BCCA50 #50CA9B
split-complementary
#5E50CA #CA9B50 #7FCA50
monochromatic
#2F257A #4133A9 #5E50CA #897FD8 #B4AEE6

Accessibility & contrast

On white

6.04
#5E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50CA#FFFFFF#000000##FFFFFF
##5E50CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#2F6D85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e50ca;
/* rgb */ color: rgb(94, 80, 202);
/* oklch */ color: oklch(51.4% 0.182 283.1);
Tailwind
colors: {
  custom: {
    50: '#9582db',
    500: '#5e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e50ca;
$custom-light: #9582db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50ca",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 246.885,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.18196,
    "h": 283.1
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#5E50CA
secondary
#CFD4A1
accent
#DD4BCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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