#5E5CDA#5E5CDA

#5E5CDA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.188 H 278.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5E5CDA
RGBrgb(94, 92, 218)
HSLhsl(241, 63%, 61%)
HSVhsv(241, 58%, 85%)
CMYKcmyk(56.9%, 57.8%, 0%, 14.5%)
CIE-LABlab(45.76, 36.50, -64.56)
CIE-LCHlch(45.76, 74.17, 299.48°)
OKLaboklab(54.72% 0.0291 -0.1853)
OKLCHoklch(54.72% 0.188 278.9)
XYZxyz(21.0941, 15.0945, 68.1180)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CDA #D8DA5C
analogous
#5C99DA #5E5CDA #9D5CDA
triadic
#5E5CDA #DA5E5C #5CDA5E
tetradic
#5E5CDA #DA5C99 #D8DA5C #5CDA9D
square
#5E5CDA #DA5C99 #D8DA5C #5CDA9D
split-complementary
#5E5CDA #DA9D5C #99DA5C
monochromatic
#252399 #312ECB #5E5CDA #8F8EE5 #C1C0F1

Accessibility & contrast

On white

5.22
#5E5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5E5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CDA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CDA#FFFFFF#000000##FFFFFF
##5E5CDA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#147A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5cda;
/* rgb */ color: rgb(94, 92, 218);
/* oklch */ color: oklch(54.7% 0.188 278.9);
Tailwind
colors: {
  custom: {
    50: '#968ae6',
    500: '#5e5cda',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cda;
$custom-light: #968ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cda",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 240.952,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.18755,
    "h": 278.9
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#5E5CDA
secondary
#E0E1B1
accent
#CB1BC8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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