#5E5EDB#5E5EDB

#5E5EDB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.186 H 278.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E5EDB
RGBrgb(94, 94, 219)
HSLhsl(240, 63%, 61%)
HSVhsv(240, 57%, 86%)
CMYKcmyk(57.1%, 57.1%, 0%, 14.1%)
CIE-LABlab(46.31, 35.61, -64.25)
CIE-LCHlch(46.31, 73.46, 299.00°)
OKLaboklab(55.15% 0.0271 -0.1843)
OKLCHoklch(55.15% 0.186 278.4)
XYZxyz(21.4009, 15.4981, 68.8678)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EDB #DBDB5E
analogous
#5E9DDB #5E5EDB #9D5EDB
triadic
#5E5EDB #DB5E5E #5EDB5E
tetradic
#5E5EDB #DB5E9D #DBDB5E #5EDB9D
square
#5E5EDB #DB5E9D #DBDB5E #5EDB9D
split-complementary
#5E5EDB #DB9D5E #9DDB5E
monochromatic
#23239C #2E2ECE #5E5EDB #9090E6 #C2C2F1

Accessibility & contrast

On white

5.12
#5E5EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E5EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EDB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EDB#FFFFFF#000000##FFFFFF
##5E5EDB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#107C93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5edb;
/* rgb */ color: rgb(94, 94, 219);
/* oklch */ color: oklch(55.1% 0.186 278.4);
Tailwind
colors: {
  custom: {
    50: '#968ce7',
    500: '#5e5edb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5edb;
$custom-light: #968ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5edb",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.18632,
    "h": 278.4
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E5EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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