#5E5ADB#5E5ADB

#5E5ADB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.191 H 279.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5E5ADB
RGBrgb(94, 90, 219)
HSLhsl(242, 64%, 61%)
HSVhsv(242, 59%, 86%)
CMYKcmyk(57.1%, 58.9%, 0%, 14.1%)
CIE-LABlab(45.37, 38.02, -65.78)
CIE-LCHlch(45.37, 75.98, 300.03°)
OKLaboklab(54.45% 0.031 -0.1889)
OKLCHoklch(54.45% 0.191 279.3)
XYZxyz(21.0544, 14.8050, 68.7523)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ADB #D7DB5A
analogous
#5A97DB #5E5ADB #9E5ADB
triadic
#5E5ADB #DB5E5A #5ADB5E
tetradic
#5E5ADB #DB5A97 #D7DB5A #5ADB9E
square
#5E5ADB #DB5A97 #D7DB5A #5ADB9E
split-complementary
#5E5ADB #DB9E5A #97DB5A
monochromatic
#252199 #312CCB #5E5ADB #8F8CE6 #C0BEF1

Accessibility & contrast

On white

5.30
#5E5ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5E5ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ADB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ADB#FFFFFF#000000##FFFFFF
##5E5ADB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#127992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e5adb;
/* rgb */ color: rgb(94, 90, 219);
/* oklch */ color: oklch(54.5% 0.191 279.3);
Tailwind
colors: {
  custom: {
    50: '#9789e7',
    500: '#5e5adb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5adb;
$custom-light: #9789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5adb",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 241.86,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.19138,
    "h": 279.3
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#5E5ADB
secondary
#DFE1B0
accent
#CC1AC6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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