#5E46EB#5E46EB

#5E46EB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.234 H 281.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5E46EB
RGBrgb(94, 70, 235)
HSLhsl(249, 80%, 60%)
HSVhsv(249, 70%, 92%)
CMYKcmyk(60%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.39, 54.35, -79.71)
CIE-LCHlch(42.39, 96.48, 304.29°)
OKLaboklab(52.69% 0.0461 -0.2298)
OKLCHoklch(52.69% 0.234 281.3)
XYZxyz(21.7969, 12.7566, 79.8948)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46EB #D3EB46
analogous
#4681EB #5E46EB #B046EB
triadic
#5E46EB #EB5E46 #46EB5E
tetradic
#5E46EB #EB4681 #D3EB46 #46EBB0
square
#5E46EB #EB4681 #D3EB46 #46EBB0
split-complementary
#5E46EB #EBB046 #81EB46
monochromatic
#2712A5 #3418DC #5E46EB #8E7DF1 #BEB4F7

Accessibility & contrast

On white

5.91
#5E46EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E46EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46EB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46EB#FFFFFF#000000##FFFFFF
##5E46EB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007394
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e46eb;
/* rgb */ color: rgb(94, 70, 235);
/* oklch */ color: oklch(52.7% 0.234 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a7cf3',
    500: '#5e46eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e46eb;
$custom-light: #9a7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46eb",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 248.727,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.23435,
    "h": 281.3
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#5E46EB
secondary
#DDE6A7
accent
#F731DA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E46EB

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

Preview Lab → · Contrast checker → · Palette generator →

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