#5E5FDC#5E5FDC

#5E5FDC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.186 H 278.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5E5FDC
RGBrgb(94, 95, 220)
HSLhsl(240, 64%, 62%)
HSVhsv(240, 57%, 86%)
CMYKcmyk(57.3%, 56.8%, 0%, 13.7%)
CIE-LABlab(46.62, 35.32, -64.32)
CIE-LCHlch(46.62, 73.38, 298.78°)
OKLaboklab(55.4% 0.0262 -0.1845)
OKLCHoklch(55.4% 0.186 278.1)
XYZxyz(21.6225, 15.7299, 69.5930)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FDC #DCDB5E
analogous
#5E9EDC #5E5FDC #9C5EDC
triadic
#5E5FDC #DC5E5F #5FDC5E
tetradic
#5E5FDC #DC5E9E #DCDB5E #5EDC9C
square
#5E5FDC #DC5E9E #DCDB5E #5EDC9C
split-complementary
#5E5FDC #DC9C5E #9EDC5E
monochromatic
#22239D #2D2ED0 #5E5FDC #9091E7 #C3C3F2

Accessibility & contrast

On white

5.06
#5E5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5E5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FDC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FDC#FFFFFF#000000##FFFFFF
##5E5FDC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#0C7D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5fdc;
/* rgb */ color: rgb(94, 95, 220);
/* oklch */ color: oklch(55.4% 0.186 278.1);
Tailwind
colors: {
  custom: {
    50: '#968ce8',
    500: '#5e5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fdc;
$custom-light: #968ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fdc",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 239.524,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.18638,
    "h": 278.1
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#5E5FDC
secondary
#E2E2B3
accent
#CB19CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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