#5E5CC9#5E5CC9

#5E5CC9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.165 H 280.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E5CC9
RGBrgb(94, 92, 201)
HSLhsl(241, 50%, 57%)
HSVhsv(241, 54%, 79%)
CMYKcmyk(53.2%, 54.2%, 0%, 21.2%)
CIE-LABlab(44.59, 31.10, -56.72)
CIE-LCHlch(44.59, 64.69, 298.74°)
OKLaboklab(53.48% 0.0288 -0.1622)
OKLCHoklch(53.48% 0.165 280.1)
XYZxyz(18.9826, 14.2499, 56.9973)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CC9 #C7C95C
analogous
#5C90C9 #5E5CC9 #955CC9
triadic
#5E5CC9 #C95E5C #5CC95E
tetradic
#5E5CC9 #C95C90 #C7C95C #5CC995
square
#5E5CC9 #C95C90 #C7C95C #5CC995
split-complementary
#5E5CC9 #C9955C #90C95C
monochromatic
#2C2A80 #3C3AAE #5E5CC9 #8B8AD8 #B9B8E7

Accessibility & contrast

On white

5.45
#5E5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5E5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CC9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CC9#FFFFFF#000000##FFFFFF
##5E5CC91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECD
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#2F7589
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5cc9;
/* rgb */ color: rgb(94, 92, 201);
/* oklch */ color: oklch(53.5% 0.165 280.1);
Tailwind
colors: {
  custom: {
    50: '#948ada',
    500: '#5e5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cc9;
$custom-light: #948ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cc9",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 241.101,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.16475,
    "h": 280.1
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#5E5CC9
secondary
#D6D6AA
accent
#DA4ED7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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