#4E45D5#4E45D5

#4E45D5 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.212 H 278.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4E45D5
RGBrgb(78, 69, 213)
HSLhsl(244, 63%, 55%)
HSVhsv(244, 68%, 84%)
CMYKcmyk(63.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(39.03, 46.02, -72.73)
CIE-LCHlch(39.03, 86.06, 302.32°)
OKLaboklab(49.39% 0.0297 -0.2098)
OKLCHoklch(49.39% 0.212 278.1)
XYZxyz(17.2764, 10.6786, 64.0887)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45D5 #CCD545
analogous
#4584D5 #4E45D5 #9645D5
triadic
#4E45D5 #D54E45 #45D54E
tetradic
#4E45D5 #D54584 #CCD545 #45D596
square
#4E45D5 #D54584 #CCD545 #45D596
split-complementary
#4E45D5 #D59645 #84D545
monochromatic
#241D82 #3129B4 #4E45D5 #7E77E0 #ADA9EC

Accessibility & contrast

On white

6.70
#4E45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4E45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45D5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45D5#FFFFFF#000000##FFFFFF
##4E45D51.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e45d5;
/* rgb */ color: rgb(78, 69, 213);
/* oklch */ color: oklch(49.4% 0.212 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f7ae3',
    500: '#4e45d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e45d5;
$custom-light: #8f7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45d5",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 243.75,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49385,
    "c": 0.21187,
    "h": 278.1
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#4E45D5
secondary
#D5D99D
accent
#E642DC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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