#5E5FDD#5E5FDD

#5E5FDD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.188 H 278.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5E5FDD
RGBrgb(94, 95, 221)
HSLhsl(240, 65%, 62%)
HSVhsv(240, 57%, 87%)
CMYKcmyk(57.5%, 57%, 0%, 13.3%)
CIE-LABlab(46.69, 35.64, -64.77)
CIE-LCHlch(46.69, 73.93, 298.82°)
OKLaboklab(55.47% 0.0262 -0.1859)
OKLCHoklch(55.47% 0.188 278)
XYZxyz(21.7553, 15.7830, 70.2926)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FDD #DDDC5E
analogous
#5E9EDD #5E5FDD #9D5EDD
triadic
#5E5FDD #DD5E5F #5FDD5E
tetradic
#5E5FDD #DD5E9E #DDDC5E #5EDD9D
square
#5E5FDD #DD5E9E #DDDC5E #5EDD9D
split-complementary
#5E5FDD #DD9D5E #9EDD5E
monochromatic
#22239F #2C2ED2 #5E5FDD #9191E8 #C3C3F2

Accessibility & contrast

On white

5.05
#5E5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5E5FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FDD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FDD#FFFFFF#000000##FFFFFF
##5E5FDD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#087D95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5fdd;
/* rgb */ color: rgb(94, 95, 221);
/* oklch */ color: oklch(55.5% 0.188 278.0);
Tailwind
colors: {
  custom: {
    50: '#978ce8',
    500: '#5e5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fdd;
$custom-light: #978ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fdd",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 239.528,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.18769,
    "h": 278
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#5E5FDD
secondary
#E3E3B4
accent
#CC19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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