#4E45C5#4E45C5

#4E45C5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.192 H 279.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4E45C5
RGBrgb(78, 69, 197)
HSLhsl(244, 52%, 52%)
HSVhsv(244, 65%, 77%)
CMYKcmyk(60.4%, 65%, 0%, 22.7%)
CIE-LABlab(37.67, 40.91, -65.69)
CIE-LCHlch(37.67, 77.38, 301.91°)
OKLaboklab(47.98% 0.0316 -0.1892)
OKLCHoklch(47.98% 0.192 279.5)
XYZxyz(15.3448, 9.9060, 53.9159)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C5 #BCC545
analogous
#457CC5 #4E45C5 #8E45C5
triadic
#4E45C5 #C54E45 #45C54E
tetradic
#4E45C5 #C5457C #BCC545 #45C58E
square
#4E45C5 #C5457C #BCC545 #45C58E
split-complementary
#4E45C5 #C58E45 #7CC545
monochromatic
#27226D #38319C #4E45C5 #7A74D4 #A7A2E2

Accessibility & contrast

On white

7.04
#4E45C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E45C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45C5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C5#FFFFFF#000000##FFFFFF
##4E45C51.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e45c5;
/* rgb */ color: rgb(78, 69, 197);
/* oklch */ color: oklch(48.0% 0.192 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c79d8',
    500: '#4e45c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c5;
$custom-light: #8c79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c5",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 244.219,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.19177,
    "h": 279.5
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#4E45C5
secondary
#CBCF97
accent
#DC4CD2
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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