#5E5CDB#5E5CDB

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

Color values

HEX#5E5CDB
RGBrgb(94, 92, 219)
HSLhsl(241, 64%, 61%)
HSVhsv(241, 58%, 86%)
CMYKcmyk(57.1%, 58%, 0%, 14.1%)
CIE-LABlab(45.83, 36.82, -65.02)
CIE-LCHlch(45.83, 74.72, 299.52°)
OKLaboklab(54.8% 0.0291 -0.1866)
OKLCHoklch(54.8% 0.189 278.9)
XYZxyz(21.2254, 15.1470, 68.8093)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CDB #D9DB5C
analogous
#5C99DB #5E5CDB #9D5CDB
triadic
#5E5CDB #DB5E5C #5CDB5E
tetradic
#5E5CDB #DB5C99 #D9DB5C #5CDB9D
square
#5E5CDB #DB5C99 #D9DB5C #5CDB9D
split-complementary
#5E5CDB #DB9D5C #99DB5C
monochromatic
#24229A #302DCD #5E5CDB #908EE6 #C1C0F1

Accessibility & contrast

On white

5.21
#5E5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CDB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CDB#FFFFFF#000000##FFFFFF
##5E5CDB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#117A93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e5cdb;
/* rgb */ color: rgb(94, 92, 219);
/* oklch */ color: oklch(54.8% 0.189 278.9);
Tailwind
colors: {
  custom: {
    50: '#968ae7',
    500: '#5e5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cdb;
$custom-light: #968ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cdb",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 240.945,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.18886,
    "h": 278.9
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#5E5CDB
secondary
#E1E1B1
accent
#CC1AC9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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