#5E6CEA#5E6CEA

#5E6CEA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.8% C 0.189 H 274.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5E6CEA
RGBrgb(94, 108, 234)
HSLhsl(234, 77%, 64%)
HSVhsv(234, 60%, 92%)
CMYKcmyk(59.8%, 53.8%, 0%, 8.2%)
CIE-LABlab(50.74, 31.95, -65.55)
CIE-LCHlch(50.74, 72.92, 295.98°)
OKLaboklab(58.78% 0.0141 -0.188)
OKLCHoklch(58.78% 0.189 274.3)
XYZxyz(24.8251, 19.0434, 80.1935)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CEA #EADC5E
analogous
#5EB2EA #5E6CEA #965EEA
triadic
#5E6CEA #EA5E6C #6CEA5E
tetradic
#5E6CEA #EA5EB2 #EADC5E #5EEA96
square
#5E6CEA #EA5EB2 #EADC5E #5EEA96
split-complementary
#5E6CEA #EA965E #B2EA5E
monochromatic
#1828B6 #283BE3 #5E6CEA #949DF1 #CACFF8

Accessibility & contrast

On white

4.37
#5E6CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5E6CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CEA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CEA#FFFFFF#000000##000000
##5E6CEA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEE
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008AA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e6cea;
/* rgb */ color: rgb(94, 108, 234);
/* oklch */ color: oklch(58.8% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#9896f1',
    500: '#5e6cea',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cea;
$custom-light: #9896f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cea",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 234,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.18857,
    "h": 274.3
  },
  "luminance": 0.19045
}

Semantic roles & 50–950 ramp

primary
#5E6CEA
secondary
#EAE5BA
accent
#C50CD9
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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