#4E45BD#4E45BD

#4E45BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.181 H 280.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E45BD
RGBrgb(78, 69, 189)
HSLhsl(245, 48%, 51%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(37.02, 38.34, -62.07)
CIE-LCHlch(37.02, 72.96, 301.70°)
OKLaboklab(47.3% 0.0323 -0.1785)
OKLCHoklch(47.3% 0.181 280.3)
XYZxyz(14.4524, 9.5491, 49.2158)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45BD #B4BD45
analogous
#4578BD #4E45BD #8A45BD
triadic
#4E45BD #BD4E45 #45BD4E
tetradic
#4E45BD #BD4578 #B4BD45 #45BD8A
square
#4E45BD #BD4578 #B4BD45 #45BD8A
split-complementary
#4E45BD #BD8A45 #78BD45
monochromatic
#282464 #3B3491 #4E45BD #7972CD #A49FDD

Accessibility & contrast

On white

7.22
#4E45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45BD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45BD#FFFFFF#000000##FFFFFF
##4E45BD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e45bd;
/* rgb */ color: rgb(78, 69, 189);
/* oklch */ color: oklch(47.3% 0.181 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b79d2',
    500: '#4e45bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e45bd;
$custom-light: #8b79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45bd",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 244.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.18144,
    "h": 280.3
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#4E45BD
secondary
#C6CA94
accent
#D751CD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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