#4E41C4#4E41C4

#4E41C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.3% C 0.195 H 280.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E41C4
RGBrgb(78, 65, 196)
HSLhsl(246, 53%, 51%)
HSVhsv(246, 67%, 77%)
CMYKcmyk(60.2%, 66.8%, 0%, 23.1%)
CIE-LABlab(36.71, 42.94, -66.67)
CIE-LCHlch(36.71, 79.30, 302.78°)
OKLaboklab(47.26% 0.035 -0.192)
OKLCHoklch(47.26% 0.195 280.3)
XYZxyz(14.9928, 9.3847, 53.2352)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C4 #B7C441
analogous
#4175C4 #4E41C4 #8F41C4
triadic
#4E41C4 #C44E41 #41C44E
tetradic
#4E41C4 #C44175 #B7C441 #41C48F
square
#4E41C4 #C44175 #B7C441 #41C48F
split-complementary
#4E41C4 #C48F41 #75C441
monochromatic
#28216A #3A2F98 #4E41C4 #7A70D3 #A59EE1

Accessibility & contrast

On white

7.30
#4E41C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E41C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41C4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C4#FFFFFF#000000##FFFFFF
##4E41C41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e41c4;
/* rgb */ color: rgb(78, 65, 196);
/* oklch */ color: oklch(47.3% 0.195 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c77d7',
    500: '#4e41c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c4;
$custom-light: #8c77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c4",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 245.954,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.19521,
    "h": 280.3
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#4E41C4
secondary
#C8CD93
accent
#DC4CCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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