#4E45A9#4E45A9

#4E45A9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.155 H 282.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4E45A9
RGBrgb(78, 69, 169)
HSLhsl(245, 42%, 47%)
HSVhsv(245, 59%, 66%)
CMYKcmyk(53.8%, 59.2%, 0%, 33.7%)
CIE-LABlab(35.48, 31.90, -52.74)
CIE-LCHlch(35.48, 61.64, 301.16°)
OKLaboklab(45.69% 0.0333 -0.1511)
OKLCHoklch(45.69% 0.155 282.4)
XYZxyz(12.4292, 8.7398, 38.5604)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45A9 #A0A945
analogous
#456EA9 #4E45A9 #8045A9
triadic
#4E45A9 #A94E45 #45A94E
tetradic
#4E45A9 #A9456E #A0A945 #45A980
square
#4E45A9 #A9456E #A0A945 #45A980
split-complementary
#4E45A9 #A98045 #6EA945
monochromatic
#262252 #3A337E #4E45A9 #7169C2 #9A95D4

Accessibility & contrast

On white

7.64
#4E45A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E45A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45A9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45A9#FFFFFF#000000##FFFFFF
##4E45A91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#275C70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e45a9;
/* rgb */ color: rgb(78, 69, 169);
/* oklch */ color: oklch(45.7% 0.155 282.4);
Tailwind
colors: {
  custom: {
    50: '#8779c3',
    500: '#4e45a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e45a9;
$custom-light: #8779c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45a9",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 245.4,
    "s": 42.017,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.15474,
    "h": 282.4
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#4E45A9
secondary
#BBBF8A
accent
#D256C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45A9

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

Preview Lab → · Contrast checker → · Palette generator →

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