#4E45B4#4E45B4

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

Color values

HEX#4E45B4
RGBrgb(78, 69, 180)
HSLhsl(245, 45%, 49%)
HSVhsv(245, 62%, 71%)
CMYKcmyk(56.7%, 61.7%, 0%, 29.4%)
CIE-LABlab(36.31, 35.44, -57.93)
CIE-LCHlch(36.31, 67.91, 301.46°)
OKLaboklab(46.56% 0.0329 -0.1664)
OKLCHoklch(46.56% 0.17 281.2)
XYZxyz(13.5057, 9.1704, 44.2295)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B4 #ABB445
analogous
#4574B4 #4E45B4 #8645B4
triadic
#4E45B4 #B44E45 #45B44E
tetradic
#4E45B4 #B44574 #ABB445 #45B486
square
#4E45B4 #B44574 #ABB445 #45B486
split-complementary
#4E45B4 #B48645 #74B445
monochromatic
#28235C #3B3488 #4E45B4 #766FC8 #A09BD9

Accessibility & contrast

On white

7.41
#4E45B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E45B4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B4#FFFFFF#000000##FFFFFF
##4E45B41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#196076
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e45b4;
/* rgb */ color: rgb(78, 69, 180);
/* oklch */ color: oklch(46.6% 0.170 281.2);
Tailwind
colors: {
  custom: {
    50: '#8979cb',
    500: '#4e45b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b4;
$custom-light: #8979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b4",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 244.865,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.16959,
    "h": 281.2
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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