#5E6DEC#5E6DEC

#5E6DEC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.190 H 274.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5E6DEC
RGBrgb(94, 109, 236)
HSLhsl(234, 79%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(60.2%, 53.8%, 0%, 7.5%)
CIE-LABlab(51.12, 31.99, -66.06)
CIE-LCHlch(51.12, 73.40, 295.84°)
OKLaboklab(59.11% 0.0132 -0.1895)
OKLCHoklch(59.11% 0.19 274)
XYZxyz(25.2201, 19.3711, 81.7506)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6DEC #ECDD5E
analogous
#5EB4EC #5E6DEC #965EEC
triadic
#5E6DEC #EC5E6D #6DEC5E
tetradic
#5E6DEC #EC5EB4 #ECDD5E #5EEC96
square
#5E6DEC #EC5EB4 #ECDD5E #5EEC96
split-complementary
#5E6DEC #EC965E #B4EC5E
monochromatic
#1627BA #273BE6 #5E6DEC #959FF2 #CBD0F9

Accessibility & contrast

On white

4.31
#5E6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5E6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6DEC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6DEC#FFFFFF#000000##000000
##5E6DEC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6dec;
/* rgb */ color: rgb(94, 109, 236);
/* oklch */ color: oklch(59.1% 0.190 274.0);
Tailwind
colors: {
  custom: {
    50: '#9896f3',
    500: '#5e6dec',
    950: '#000000',
  },
}
SCSS
$custom: #5e6dec;
$custom-light: #9896f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6dec",
  "rgb": {
    "r": 94,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 233.662,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.18998,
    "h": 274
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#5E6DEC
secondary
#EBE6BB
accent
#C50ADB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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