#5E5CCF#5E5CCF

#5E5CCF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.173 H 279.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5E5CCF
RGBrgb(94, 92, 207)
HSLhsl(241, 55%, 59%)
HSVhsv(241, 56%, 81%)
CMYKcmyk(54.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.99, 33.00, -59.52)
CIE-LCHlch(44.99, 68.06, 299.01°)
OKLaboklab(53.91% 0.029 -0.1704)
OKLCHoklch(53.91% 0.173 279.7)
XYZxyz(19.7022, 14.5377, 60.7873)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CCF #CDCF5C
analogous
#5C93CF #5E5CCF #975CCF
triadic
#5E5CCF #CF5E5C #5CCF5E
tetradic
#5E5CCF #CF5C93 #CDCF5C #5CCF97
square
#5E5CCF #CF5C93 #CDCF5C #5CCF97
split-complementary
#5E5CCF #CF975C #93CF5C
monochromatic
#2A2888 #3836B8 #5E5CCF #8D8BDD #BBBBEB

Accessibility & contrast

On white

5.37
#5E5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5E5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CCF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CCF#FFFFFF#000000##FFFFFF
##5E5CCF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#28778C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e5ccf;
/* rgb */ color: rgb(94, 92, 207);
/* oklch */ color: oklch(53.9% 0.173 279.7);
Tailwind
colors: {
  custom: {
    50: '#958ade',
    500: '#5e5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ccf;
$custom-light: #958ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ccf",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 241.043,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.17289,
    "h": 279.7
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#5E5CCF
secondary
#D9DAAD
accent
#DE4ADB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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