#4E45D2#4E45D2

#4E45D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.208 H 278.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4E45D2
RGBrgb(78, 69, 210)
HSLhsl(244, 61%, 55%)
HSVhsv(244, 67%, 82%)
CMYKcmyk(62.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.77, 45.06, -71.42)
CIE-LCHlch(38.77, 84.45, 302.25°)
OKLaboklab(49.12% 0.0301 -0.206)
OKLCHoklch(49.12% 0.208 278.3)
XYZxyz(16.8991, 10.5277, 62.1018)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45D2 #C9D245
analogous
#4582D2 #4E45D2 #9545D2
triadic
#4E45D2 #D24E45 #45D24E
tetradic
#4E45D2 #D24582 #C9D245 #45D295
square
#4E45D2 #D24582 #C9D245 #45D295
split-complementary
#4E45D2 #D29545 #82D245
monochromatic
#251F7E #332AAF #4E45D2 #7D76DE #ACA8EA

Accessibility & contrast

On white

6.76
#4E45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E45D2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45D2#FFFFFF#000000##FFFFFF
##4E45D21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e45d2;
/* rgb */ color: rgb(78, 69, 210);
/* oklch */ color: oklch(49.1% 0.208 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e7ae1',
    500: '#4e45d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e45d2;
$custom-light: #8e7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45d2",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 243.83,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.20815,
    "h": 278.3
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#4E45D2
secondary
#D3D79C
accent
#E444DA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4E45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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