#5E5BDB#5E5BDB

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

Color values

HEX#5E5BDB
RGBrgb(94, 91, 219)
HSLhsl(241, 64%, 61%)
HSVhsv(241, 58%, 86%)
CMYKcmyk(57.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(45.60, 37.42, -65.40)
CIE-LCHlch(45.60, 75.35, 299.78°)
OKLaboklab(54.62% 0.03 -0.1877)
OKLCHoklch(54.62% 0.19 279.1)
XYZxyz(21.1393, 14.9749, 68.7806)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BDB #D8DB5B
analogous
#5B98DB #5E5BDB #9E5BDB
triadic
#5E5BDB #DB5E5B #5BDB5E
tetradic
#5E5BDB #DB5B98 #D8DB5B #5BDB9E
square
#5E5BDB #DB5B98 #D8DB5B #5BDB9E
split-complementary
#5E5BDB #DB9E5B #98DB5B
monochromatic
#25229A #312DCC #5E5BDB #8F8DE6 #C1BFF1

Accessibility & contrast

On white

5.26
#5E5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5BDB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BDB#FFFFFF#000000##FFFFFF
##5E5BDB1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#127A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5bdb;
/* rgb */ color: rgb(94, 91, 219);
/* oklch */ color: oklch(54.6% 0.190 279.1);
Tailwind
colors: {
  custom: {
    50: '#9689e7',
    500: '#5e5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bdb;
$custom-light: #9689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bdb",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 241.406,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.19013,
    "h": 279.1
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#5E5BDB
secondary
#E0E1B1
accent
#CC1AC8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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