#4E45BF#4E45BF

#4E45BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.184 H 280.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4E45BF
RGBrgb(78, 69, 191)
HSLhsl(244, 49%, 51%)
HSVhsv(244, 64%, 75%)
CMYKcmyk(59.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.18, 38.98, -62.98)
CIE-LCHlch(37.18, 74.07, 301.75°)
OKLaboklab(47.47% 0.0321 -0.1812)
OKLCHoklch(47.47% 0.184 280.1)
XYZxyz(14.6710, 9.6365, 50.3670)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45BF #B6BF45
analogous
#4579BF #4E45BF #8B45BF
triadic
#4E45BF #BF4E45 #45BF4E
tetradic
#4E45BF #BF4579 #B6BF45 #45BF8B
square
#4E45BF #BF4579 #B6BF45 #45BF8B
split-complementary
#4E45BF #BF8B45 #79BF45
monochromatic
#282366 #3A3394 #4E45BF #7973CF #A5A0DE

Accessibility & contrast

On white

7.17
#4E45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45BF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45BF#FFFFFF#000000##FFFFFF
##4E45BF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e45bf;
/* rgb */ color: rgb(78, 69, 191);
/* oklch */ color: oklch(47.5% 0.184 280.1);
Tailwind
colors: {
  custom: {
    50: '#8b79d3',
    500: '#4e45bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e45bf;
$custom-light: #8b79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45bf",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 244.426,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.18404,
    "h": 280.1
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#4E45BF
secondary
#C7CB95
accent
#D84FCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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