#4E45AB#4E45AB

#4E45AB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.157 H 282.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E45AB
RGBrgb(78, 69, 171)
HSLhsl(245, 43%, 47%)
HSVhsv(245, 60%, 67%)
CMYKcmyk(54.4%, 59.6%, 0%, 32.9%)
CIE-LABlab(35.63, 32.54, -53.70)
CIE-LCHlch(35.63, 62.79, 301.22°)
OKLaboklab(45.85% 0.0333 -0.1539)
OKLCHoklch(45.85% 0.157 282.2)
XYZxyz(12.6184, 8.8155, 39.5568)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45AB #A2AB45
analogous
#456FAB #4E45AB #8145AB
triadic
#4E45AB #AB4E45 #45AB4E
tetradic
#4E45AB #AB456F #A2AB45 #45AB81
square
#4E45AB #AB456F #A2AB45 #45AB81
split-complementary
#4E45AB #AB8145 #6FAB45
monochromatic
#262254 #3A337F #4E45AB #726AC3 #9B96D5

Accessibility & contrast

On white

7.60
#4E45AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E45AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45AB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45AB#FFFFFF#000000##FFFFFF
##4E45AB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#255D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e45ab;
/* rgb */ color: rgb(78, 69, 171);
/* oklch */ color: oklch(45.8% 0.157 282.2);
Tailwind
colors: {
  custom: {
    50: '#8879c5',
    500: '#4e45ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e45ab;
$custom-light: #8879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45ab",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 245.294,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.15748,
    "h": 282.2
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#4E45AB
secondary
#BCC08B
accent
#D256C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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