#4E45BC#4E45BC

#4E45BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.180 H 280.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4E45BC
RGBrgb(78, 69, 188)
HSLhsl(245, 47%, 50%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.94, 38.01, -61.62)
CIE-LCHlch(36.94, 72.40, 301.67°)
OKLaboklab(47.22% 0.0324 -0.1772)
OKLCHoklch(47.22% 0.18 280.4)
XYZxyz(14.3443, 9.5058, 48.6461)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45BC #B3BC45
analogous
#4577BC #4E45BC #8A45BC
triadic
#4E45BC #BC4E45 #45BC4E
tetradic
#4E45BC #BC4577 #B3BC45 #45BC8A
square
#4E45BC #BC4577 #B3BC45 #45BC8A
split-complementary
#4E45BC #BC8A45 #77BC45
monochromatic
#282463 #3B3490 #4E45BC #7972CC #A49FDC

Accessibility & contrast

On white

7.24
#4E45BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E45BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45BC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45BC#FFFFFF#000000##FFFFFF
##4E45BC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#04637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e45bc;
/* rgb */ color: rgb(78, 69, 188);
/* oklch */ color: oklch(47.2% 0.180 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a79d1',
    500: '#4e45bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e45bc;
$custom-light: #8a79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45bc",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 244.538,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.18014,
    "h": 280.4
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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