#4E45B3#4E45B3

#4E45B3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.168 H 281.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E45B3
RGBrgb(78, 69, 179)
HSLhsl(245, 44%, 49%)
HSVhsv(245, 61%, 70%)
CMYKcmyk(56.4%, 61.5%, 0%, 29.8%)
CIE-LABlab(36.23, 35.12, -57.46)
CIE-LCHlch(36.23, 67.34, 301.43°)
OKLaboklab(46.48% 0.033 -0.165)
OKLCHoklch(46.48% 0.168 281.3)
XYZxyz(13.4042, 9.1298, 43.6950)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B3 #AAB345
analogous
#4573B3 #4E45B3 #8545B3
triadic
#4E45B3 #B34E45 #45B34E
tetradic
#4E45B3 #B34573 #AAB345 #45B385
square
#4E45B3 #B34573 #AAB345 #45B385
split-complementary
#4E45B3 #B38545 #73B345
monochromatic
#28235B #3B3487 #4E45B3 #756EC7 #9F9AD8

Accessibility & contrast

On white

7.43
#4E45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E45B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B3#FFFFFF#000000##FFFFFF
##4E45B31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#1A6075
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e45b3;
/* rgb */ color: rgb(78, 69, 179);
/* oklch */ color: oklch(46.5% 0.168 281.3);
Tailwind
colors: {
  custom: {
    50: '#8979cb',
    500: '#4e45b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b3;
$custom-light: #8979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b3",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 244.909,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.16825,
    "h": 281.3
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#4E45B3
secondary
#C0C48F
accent
#D454CA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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