#4E45C6#4E45C6

#4E45C6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.193 H 279.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4E45C6
RGBrgb(78, 69, 198)
HSLhsl(244, 53%, 52%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(60.6%, 65.2%, 0%, 22.4%)
CIE-LABlab(37.76, 41.23, -66.13)
CIE-LCHlch(37.76, 77.93, 301.94°)
OKLaboklab(48.07% 0.0315 -0.1905)
OKLCHoklch(48.07% 0.193 279.4)
XYZxyz(15.4598, 9.9520, 54.5214)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45C6 #BDC645
analogous
#457DC6 #4E45C6 #8E45C6
triadic
#4E45C6 #C64E45 #45C64E
tetradic
#4E45C6 #C6457D #BDC645 #45C68E
square
#4E45C6 #C6457D #BDC645 #45C68E
split-complementary
#4E45C6 #C68E45 #7DC645
monochromatic
#27226F #38309E #4E45C6 #7B74D4 #A7A3E3

Accessibility & contrast

On white

7.02
#4E45C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E45C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45C6
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45C6#FFFFFF#000000##FFFFFF
##4E45C61.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e45c6;
/* rgb */ color: rgb(78, 69, 198);
/* oklch */ color: oklch(48.1% 0.193 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c79d8',
    500: '#4e45c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e45c6;
$custom-light: #8c79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45c6",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 244.186,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.19304,
    "h": 279.4
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#4E45C6
secondary
#CCCF97
accent
#DC4BD2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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