#5E5CC7#5E5CC7

#5E5CC7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.162 H 280.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E5CC7
RGBrgb(94, 92, 199)
HSLhsl(241, 49%, 57%)
HSVhsv(241, 54%, 78%)
CMYKcmyk(52.8%, 53.8%, 0%, 22%)
CIE-LABlab(44.46, 30.47, -55.78)
CIE-LCHlch(44.46, 63.56, 298.65°)
OKLaboklab(53.34% 0.0288 -0.1594)
OKLCHoklch(53.34% 0.162 280.2)
XYZxyz(18.7488, 14.1564, 55.7663)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CC7 #C5C75C
analogous
#5C90C7 #5E5CC7 #935CC7
triadic
#5E5CC7 #C75E5C #5CC75E
tetradic
#5E5CC7 #C75C90 #C5C75C #5CC793
square
#5E5CC7 #C75C90 #C5C75C #5CC793
split-complementary
#5E5CC7 #C7935C #90C75C
monochromatic
#2D2B7D #3D3BAB #5E5CC7 #8B8AD7 #B8B7E6

Accessibility & contrast

On white

5.48
#5E5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CC7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CC7#FFFFFF#000000##FFFFFF
##5E5CC71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCB
Deuteranopia (green-blind)
#0A65C5
Tritanopia (blue-blind)
#317488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5cc7;
/* rgb */ color: rgb(94, 92, 199);
/* oklch */ color: oklch(53.3% 0.162 280.2);
Tailwind
colors: {
  custom: {
    50: '#938ad9',
    500: '#5e5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cc7;
$custom-light: #938ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cc7",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 241.121,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.16201,
    "h": 280.2
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#5E5CC7
secondary
#D4D5AA
accent
#D84FD6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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