#4E45AE#4E45AE

#4E45AE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.162 H 281.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4E45AE
RGBrgb(78, 69, 174)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 60%, 68%)
CMYKcmyk(55.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(35.85, 33.51, -55.12)
CIE-LCHlch(35.85, 64.50, 301.30°)
OKLaboklab(46.08% 0.0332 -0.1581)
OKLCHoklch(46.08% 0.162 281.9)
XYZxyz(12.9076, 8.9312, 41.0799)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45AE #A5AE45
analogous
#4570AE #4E45AE #8345AE
triadic
#4E45AE #AE4E45 #45AE4E
tetradic
#4E45AE #AE4570 #A5AE45 #45AE83
square
#4E45AE #AE4570 #A5AE45 #45AE83
split-complementary
#4E45AE #AE8345 #70AE45
monochromatic
#272256 #3A3482 #4E45AE #736CC5 #9D97D6

Accessibility & contrast

On white

7.54
#4E45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45AE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45AE#FFFFFF#000000##FFFFFF
##4E45AE1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#215E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e45ae;
/* rgb */ color: rgb(78, 69, 174);
/* oklch */ color: oklch(46.1% 0.162 281.9);
Tailwind
colors: {
  custom: {
    50: '#8879c7',
    500: '#4e45ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e45ae;
$custom-light: #8879c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45ae",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 245.143,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.16155,
    "h": 281.9
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#4E45AE
secondary
#BDC28D
accent
#D355C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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