#4E45B5#4E45B5

#4E45B5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.171 H 281.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4E45B5
RGBrgb(78, 69, 181)
HSLhsl(245, 45%, 49%)
HSVhsv(245, 62%, 71%)
CMYKcmyk(56.9%, 61.9%, 0%, 29%)
CIE-LABlab(36.39, 35.76, -58.39)
CIE-LCHlch(36.39, 68.47, 301.48°)
OKLaboklab(46.64% 0.0329 -0.1677)
OKLCHoklch(46.64% 0.171 281.1)
XYZxyz(13.6079, 9.2113, 44.7680)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B5 #ACB545
analogous
#4574B5 #4E45B5 #8645B5
triadic
#4E45B5 #B54E45 #45B54E
tetradic
#4E45B5 #B54574 #ACB545 #45B586
square
#4E45B5 #B54574 #ACB545 #45B586
split-complementary
#4E45B5 #B58645 #74B545
monochromatic
#28235C #3B3489 #4E45B5 #766FC8 #A09BD9

Accessibility & contrast

On white

7.39
#4E45B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E45B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B5#FFFFFF#000000##FFFFFF
##4E45B51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#176076
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e45b5;
/* rgb */ color: rgb(78, 69, 181);
/* oklch */ color: oklch(46.6% 0.171 281.1);
Tailwind
colors: {
  custom: {
    50: '#8979cc',
    500: '#4e45b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b5;
$custom-light: #8979cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b5",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 244.821,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.17092,
    "h": 281.1
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#4E45B5
secondary
#C1C591
accent
#D553CA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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