#4E45C7#4E45C7

#4E45C7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.194 H 279.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4E45C7
RGBrgb(78, 69, 199)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(60.8%, 65.3%, 0%, 22%)
CIE-LABlab(37.84, 41.55, -66.58)
CIE-LCHlch(37.84, 78.48, 301.96°)
OKLaboklab(48.15% 0.0314 -0.1918)
OKLCHoklch(48.15% 0.194 279.3)
XYZxyz(15.5755, 9.9983, 55.1308)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C7 #BEC745
analogous
#457DC7 #4E45C7 #8F45C7
triadic
#4E45C7 #C74E45 #45C74E
tetradic
#4E45C7 #C7457D #BEC745 #45C78F
square
#4E45C7 #C7457D #BEC745 #45C78F
split-complementary
#4E45C7 #C78F45 #7DC745
monochromatic
#272270 #38309F #4E45C7 #7B74D5 #A8A3E3

Accessibility & contrast

On white

7.00
#4E45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E45C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45C7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C7#FFFFFF#000000##FFFFFF
##4E45C71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e45c7;
/* rgb */ color: rgb(78, 69, 199);
/* oklch */ color: oklch(48.2% 0.194 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c79d9',
    500: '#4e45c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c7;
$custom-light: #8c79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c7",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 244.154,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.19432,
    "h": 279.3
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#4E45C7
secondary
#CCD098
accent
#DD4BD3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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