#4E45C1#4E45C1

#4E45C1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.187 H 279.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4E45C1
RGBrgb(78, 69, 193)
HSLhsl(244, 50%, 51%)
HSVhsv(244, 64%, 76%)
CMYKcmyk(59.6%, 64.2%, 0%, 24.3%)
CIE-LABlab(37.34, 39.62, -63.89)
CIE-LCHlch(37.34, 75.18, 301.81°)
OKLaboklab(47.64% 0.032 -0.1839)
OKLCHoklch(47.64% 0.187 279.9)
XYZxyz(14.8926, 9.7251, 51.5341)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C1 #B8C145
analogous
#457AC1 #4E45C1 #8C45C1
triadic
#4E45C1 #C14E45 #45C14E
tetradic
#4E45C1 #C1457A #B8C145 #45C18C
square
#4E45C1 #C1457A #B8C145 #45C18C
split-complementary
#4E45C1 #C18C45 #7AC145
monochromatic
#282369 #393297 #4E45C1 #7A73D0 #A5A1E0

Accessibility & contrast

On white

7.13
#4E45C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E45C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45C1
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C1#FFFFFF#000000##FFFFFF
##4E45C11.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e45c1;
/* rgb */ color: rgb(78, 69, 193);
/* oklch */ color: oklch(47.6% 0.187 279.9);
Tailwind
colors: {
  custom: {
    50: '#8b79d5',
    500: '#4e45c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c1;
$custom-light: #8b79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c1",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 244.355,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.18663,
    "h": 279.9
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#4E45C1
secondary
#C8CC96
accent
#DA4ECF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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