#5E5CC0#5E5CC0

#5E5CC0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.152 H 280.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5E5CC0
RGBrgb(94, 92, 192)
HSLhsl(241, 44%, 56%)
HSVhsv(241, 52%, 75%)
CMYKcmyk(51%, 52.1%, 0%, 24.7%)
CIE-LABlab(44.00, 28.27, -52.46)
CIE-LCHlch(44.00, 59.59, 298.32°)
OKLaboklab(52.85% 0.0284 -0.1497)
OKLCHoklch(52.85% 0.152 280.7)
XYZxyz(17.9547, 13.8387, 51.5840)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CC0 #BEC05C
analogous
#5C8CC0 #5E5CC0 #905CC0
triadic
#5E5CC0 #C05E5C #5CC05E
tetradic
#5E5CC0 #C05C8C #BEC05C #5CC090
square
#5E5CC0 #C05C8C #BEC05C #5CC090
split-complementary
#5E5CC0 #C0905C #8CC05C
monochromatic
#2E2D75 #403EA1 #5E5CC0 #8A88D1 #B5B4E2

Accessibility & contrast

On white

5.57
#5E5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5E5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CC0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CC0#FFFFFF#000000##FFFFFF
##5E5CC01.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC4
Deuteranopia (green-blind)
#1E64BE
Tritanopia (blue-blind)
#377285
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e5cc0;
/* rgb */ color: rgb(94, 92, 192);
/* oklch */ color: oklch(52.8% 0.152 280.7);
Tailwind
colors: {
  custom: {
    50: '#928ad4',
    500: '#5e5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cc0;
$custom-light: #928ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cc0",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 241.2,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.15234,
    "h": 280.7
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#5E5CC0
secondary
#D0D1A7
accent
#D454D1
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5E5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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