#4E41B9#4E41B9

#4E41B9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.181 H 281.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E41B9
RGBrgb(78, 65, 185)
HSLhsl(247, 48%, 49%)
HSVhsv(247, 65%, 73%)
CMYKcmyk(57.8%, 64.9%, 0%, 27.5%)
CIE-LABlab(35.80, 39.45, -61.72)
CIE-LCHlch(35.80, 73.25, 302.59°)
OKLaboklab(46.31% 0.0363 -0.1775)
OKLCHoklch(46.31% 0.181 281.6)
XYZxyz(13.7864, 8.9022, 46.8814)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B9 #ACB941
analogous
#4170B9 #4E41B9 #8A41B9
triadic
#4E41B9 #B94E41 #41B94E
tetradic
#4E41B9 #B94170 #ACB941 #41B98A
square
#4E41B9 #B94170 #ACB941 #41B98A
split-complementary
#4E41B9 #B98A41 #70B941
monochromatic
#28215E #3B318C #4E41B9 #766CCB #A099DB

Accessibility & contrast

On white

7.55
#4E41B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E41B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B9#FFFFFF#000000##FFFFFF
##4E41B91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#0F5F77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e41b9;
/* rgb */ color: rgb(78, 65, 185);
/* oklch */ color: oklch(46.3% 0.181 281.6);
Tailwind
colors: {
  custom: {
    50: '#8a76cf',
    500: '#4e41b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b9;
$custom-light: #8a76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b9",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 246.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.1812,
    "h": 281.6
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#4E41B9
secondary
#C1C78F
accent
#D850C9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E41B9

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

Preview Lab → · Contrast checker → · Palette generator →

#4E41B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva