#4E45C0#4E45C0

#4E45C0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.185 H 280.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4E45C0
RGBrgb(78, 69, 192)
HSLhsl(244, 49%, 51%)
HSVhsv(244, 64%, 75%)
CMYKcmyk(59.4%, 64.1%, 0%, 24.7%)
CIE-LABlab(37.26, 39.30, -63.44)
CIE-LCHlch(37.26, 74.62, 301.78°)
OKLaboklab(47.56% 0.0321 -0.1825)
OKLCHoklch(47.56% 0.185 280)
XYZxyz(14.7814, 9.6807, 50.9486)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C0 #B7C045
analogous
#4579C0 #4E45C0 #8B45C0
triadic
#4E45C0 #C04E45 #45C04E
tetradic
#4E45C0 #C04579 #B7C045 #45C08B
square
#4E45C0 #C04579 #B7C045 #45C08B
split-complementary
#4E45C0 #C08B45 #79C045
monochromatic
#282368 #3A3395 #4E45C0 #7A73CF #A5A0DF

Accessibility & contrast

On white

7.15
#4E45C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E45C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45C0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C0#FFFFFF#000000##FFFFFF
##4E45C01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e45c0;
/* rgb */ color: rgb(78, 69, 192);
/* oklch */ color: oklch(47.6% 0.185 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b79d4',
    500: '#4e45c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c0;
$custom-light: #8b79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c0",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 244.39,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47556,
    "c": 0.18533,
    "h": 280
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#4E45C0
secondary
#C8CC95
accent
#D94FCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E45C0

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

Preview Lab → · Contrast checker → · Palette generator →

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