#4E45C3#4E45C3

#4E45C3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.189 H 279.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4E45C3
RGBrgb(78, 69, 195)
HSLhsl(244, 51%, 52%)
HSVhsv(244, 65%, 76%)
CMYKcmyk(60%, 64.6%, 0%, 23.5%)
CIE-LABlab(37.51, 40.26, -64.79)
CIE-LCHlch(37.51, 76.28, 301.86°)
OKLaboklab(47.81% 0.0318 -0.1865)
OKLCHoklch(47.81% 0.189 279.7)
XYZxyz(15.1172, 9.8150, 52.7170)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C3 #BAC345
analogous
#457BC3 #4E45C3 #8D45C3
triadic
#4E45C3 #C34E45 #45C34E
tetradic
#4E45C3 #C3457B #BAC345 #45C38D
square
#4E45C3 #C3457B #BAC345 #45C38D
split-complementary
#4E45C3 #C38D45 #7BC345
monochromatic
#28236B #393199 #4E45C3 #7A73D2 #A6A2E1

Accessibility & contrast

On white

7.09
#4E45C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E45C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45C3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C3#FFFFFF#000000##FFFFFF
##4E45C31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e45c3;
/* rgb */ color: rgb(78, 69, 195);
/* oklch */ color: oklch(47.8% 0.189 279.7);
Tailwind
colors: {
  custom: {
    50: '#8c79d6',
    500: '#4e45c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c3;
$custom-light: #8c79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c3",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 244.286,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.18921,
    "h": 279.7
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#4E45C3
secondary
#CACE96
accent
#DB4DD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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