#5E5BDA#5E5BDA

#5E5BDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.189 H 279.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5E5BDA
RGBrgb(94, 91, 218)
HSLhsl(241, 63%, 61%)
HSVhsv(241, 58%, 85%)
CMYKcmyk(56.9%, 58.3%, 0%, 14.5%)
CIE-LABlab(45.53, 37.10, -64.95)
CIE-LCHlch(45.53, 74.80, 299.74°)
OKLaboklab(54.55% 0.0301 -0.1864)
OKLCHoklch(54.55% 0.189 279.2)
XYZxyz(21.0081, 14.9224, 68.0894)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BDA #D7DA5B
analogous
#5B98DA #5E5BDA #9D5BDA
triadic
#5E5BDA #DA5E5B #5BDA5E
tetradic
#5E5BDA #DA5B98 #D7DA5B #5BDA9D
square
#5E5BDA #DA5B98 #D7DA5B #5BDA9D
split-complementary
#5E5BDA #DA9D5B #98DA5B
monochromatic
#252298 #312ECA #5E5BDA #8F8DE5 #C0BFF1

Accessibility & contrast

On white

5.27
#5E5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BDA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BDA#FFFFFF#000000##FFFFFF
##5E5BDA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#147992
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5bda;
/* rgb */ color: rgb(94, 91, 218);
/* oklch */ color: oklch(54.5% 0.189 279.2);
Tailwind
colors: {
  custom: {
    50: '#9689e6',
    500: '#5e5bda',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bda;
$custom-light: #9689e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bda",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 241.417,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.18882,
    "h": 279.2
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#5E5BDA
secondary
#DFE1B0
accent
#CB1BC7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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