#5E5CD8#5E5CD8

#5E5CD8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.185 H 279.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5E5CD8
RGBrgb(94, 92, 216)
HSLhsl(241, 61%, 60%)
HSVhsv(241, 57%, 85%)
CMYKcmyk(56.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(45.62, 35.86, -63.66)
CIE-LCHlch(45.62, 73.06, 299.40°)
OKLaboklab(54.57% 0.0291 -0.1826)
OKLCHoklch(54.57% 0.185 279.1)
XYZxyz(20.8340, 14.9904, 66.7480)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CD8 #D6D85C
analogous
#5C98D8 #5E5CD8 #9C5CD8
triadic
#5E5CD8 #D85E5C #5CD85E
tetradic
#5E5CD8 #D85C98 #D6D85C #5CD89C
square
#5E5CD8 #D85C98 #D6D85C #5CD89C
split-complementary
#5E5CD8 #D89C5C #98D85C
monochromatic
#262496 #3230C7 #5E5CD8 #8F8DE4 #C0BFF0

Accessibility & contrast

On white

5.25
#5E5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5E5CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CD8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CD8#FFFFFF#000000##FFFFFF
##5E5CD81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#197991
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5cd8;
/* rgb */ color: rgb(94, 92, 216);
/* oklch */ color: oklch(54.6% 0.185 279.1);
Tailwind
colors: {
  custom: {
    50: '#968ae5',
    500: '#5e5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cd8;
$custom-light: #968ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cd8",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 240.968,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.1849,
    "h": 279.1
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#5E5CD8
secondary
#DFE0B0
accent
#C91CC6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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