#4E45AF#4E45AF

#4E45AF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.163 H 281.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E45AF
RGBrgb(78, 69, 175)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 61%, 69%)
CMYKcmyk(55.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.93, 33.83, -55.59)
CIE-LCHlch(35.93, 65.07, 301.32°)
OKLaboklab(46.16% 0.0332 -0.1595)
OKLCHoklch(46.16% 0.163 281.7)
XYZxyz(13.0055, 8.9703, 41.5953)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45AF #A6AF45
analogous
#4571AF #4E45AF #8345AF
triadic
#4E45AF #AF4E45 #45AF4E
tetradic
#4E45AF #AF4571 #A6AF45 #45AF83
square
#4E45AF #AF4571 #A6AF45 #45AF83
split-complementary
#4E45AF #AF8345 #71AF45
monochromatic
#272257 #3A3483 #4E45AF #746CC5 #9D98D6

Accessibility & contrast

On white

7.52
#4E45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45AF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45AF#FFFFFF#000000##FFFFFF
##4E45AF1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#205E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e45af;
/* rgb */ color: rgb(78, 69, 175);
/* oklch */ color: oklch(46.2% 0.163 281.7);
Tailwind
colors: {
  custom: {
    50: '#8879c8',
    500: '#4e45af',
    950: '#000000',
  },
}
SCSS
$custom: #4e45af;
$custom-light: #8879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45af",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 245.094,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.16289,
    "h": 281.7
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#4E45AF
secondary
#BEC28D
accent
#D355C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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