#4E45B7#4E45B7

#4E45B7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.174 H 280.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4E45B7
RGBrgb(78, 69, 183)
HSLhsl(245, 45%, 49%)
HSVhsv(245, 62%, 72%)
CMYKcmyk(57.4%, 62.3%, 0%, 28.2%)
CIE-LABlab(36.54, 36.40, -59.32)
CIE-LCHlch(36.54, 69.60, 301.54°)
OKLaboklab(46.81% 0.0327 -0.1704)
OKLCHoklch(46.81% 0.174 280.9)
XYZxyz(13.8146, 9.2939, 45.8565)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45B7 #AEB745
analogous
#4575B7 #4E45B7 #8745B7
triadic
#4E45B7 #B74E45 #45B74E
tetradic
#4E45B7 #B74575 #AEB745 #45B787
square
#4E45B7 #B74575 #AEB745 #45B787
split-complementary
#4E45B7 #B78745 #75B745
monochromatic
#28235E #3B348B #4E45B7 #7770C9 #A19DDA

Accessibility & contrast

On white

7.35
#4E45B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E45B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45B7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45B7#FFFFFF#000000##FFFFFF
##4E45B71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#136177
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e45b7;
/* rgb */ color: rgb(78, 69, 183);
/* oklch */ color: oklch(46.8% 0.174 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a79cd',
    500: '#4e45b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e45b7;
$custom-light: #8a79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45b7",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 244.737,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.17357,
    "h": 280.9
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#4E45B7
secondary
#C2C692
accent
#D553CB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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