#5D46EB#5D46EB

#5D46EB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.235 H 281.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5D46EB
RGBrgb(93, 70, 235)
HSLhsl(248, 80%, 60%)
HSVhsv(248, 70%, 92%)
CMYKcmyk(60.4%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.31, 54.22, -79.85)
CIE-LCHlch(42.31, 96.51, 304.18°)
OKLaboklab(52.62% 0.0447 -0.2302)
OKLCHoklch(52.62% 0.235 281)
XYZxyz(21.6950, 12.7041, 79.8900)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46EB #D4EB46
analogous
#4681EB #5D46EB #B046EB
triadic
#5D46EB #EB5D46 #46EB5D
tetradic
#5D46EB #EB4681 #D4EB46 #46EBB0
square
#5D46EB #EB4681 #D4EB46 #46EBB0
split-complementary
#5D46EB #EBB046 #81EB46
monochromatic
#2612A5 #3318DC #5D46EB #8D7DF1 #BEB4F7

Accessibility & contrast

On white

5.93
#5D46EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D46EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46EB#FFFFFF#000000##FFFFFF
##5D46EB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.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: #5d46eb;
/* rgb */ color: rgb(93, 70, 235);
/* oklch */ color: oklch(52.6% 0.235 281.0);
Tailwind
colors: {
  custom: {
    50: '#9a7cf3',
    500: '#5d46eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d46eb;
$custom-light: #9a7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46eb",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 248.364,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.23452,
    "h": 281
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D46EB

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

Preview Lab → · Contrast checker → · Palette generator →

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