#4E41B1#4E41B1

#4E41B1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.171 H 282.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4E41B1
RGBrgb(78, 65, 177)
HSLhsl(247, 46%, 47%)
HSVhsv(247, 63%, 69%)
CMYKcmyk(55.9%, 63.3%, 0%, 30.6%)
CIE-LABlab(35.15, 36.91, -58.04)
CIE-LCHlch(35.15, 68.78, 302.45°)
OKLaboklab(45.64% 0.037 -0.1667)
OKLCHoklch(45.64% 0.171 282.5)
XYZxyz(12.9655, 8.5738, 42.5582)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B1 #A4B141
analogous
#416CB1 #4E41B1 #8641B1
triadic
#4E41B1 #B14E41 #41B14E
tetradic
#4E41B1 #B1416C #A4B141 #41B186
square
#4E41B1 #B1416C #A4B141 #41B186
split-complementary
#4E41B1 #B18641 #6CB141
monochromatic
#272057 #3A3184 #4E41B1 #7368C7 #9C95D8

Accessibility & contrast

On white

7.73
#4E41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B1#FFFFFF#000000##FFFFFF
##4E41B11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#1E5C73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e41b1;
/* rgb */ color: rgb(78, 65, 177);
/* oklch */ color: oklch(45.6% 0.171 282.5);
Tailwind
colors: {
  custom: {
    50: '#8976c9',
    500: '#4e41b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b1;
$custom-light: #8976c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b1",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 246.964,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.17076,
    "h": 282.5
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#4E41B1
secondary
#BDC38A
accent
#D652C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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