#4E4CD1#4E4CD1

#4E4CD1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.199 H 277.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4CD1
RGBrgb(78, 76, 209)
HSLhsl(241, 59%, 56%)
HSVhsv(241, 64%, 82%)
CMYKcmyk(62.7%, 63.6%, 0%, 18%)
CIE-LABlab(40.23, 40.61, -68.46)
CIE-LCHlch(40.23, 79.60, 300.68°)
OKLaboklab(50.15% 0.0247 -0.1973)
OKLCHoklch(50.15% 0.199 277.1)
XYZxyz(17.2312, 11.3906, 61.5998)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CD1 #CFD14C
analogous
#4C8CD1 #4E4CD1 #904CD1
triadic
#4E4CD1 #D14E4C #4CD14E
tetradic
#4E4CD1 #D14C8C #CFD14C #4CD190
square
#4E4CD1 #D14C8C #CFD14C #4CD190
split-complementary
#4E4CD1 #D1904C #8CD14C
monochromatic
#232181 #302EB2 #4E4CD1 #7E7DDE #AEADEA

Accessibility & contrast

On white

6.41
#4E4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4CD1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CD1#FFFFFF#000000##FFFFFF
##4E4CD11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e4cd1;
/* rgb */ color: rgb(78, 76, 209);
/* oklch */ color: oklch(50.1% 0.199 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e7ee0',
    500: '#4e4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4cd1;
$custom-light: #8e7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4cd1",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 240.902,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.19881,
    "h": 277.1
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#4E4CD1
secondary
#D7D8A1
accent
#E246E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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