#4E45A7#4E45A7

#4E45A7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.152 H 282.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E45A7
RGBrgb(78, 69, 167)
HSLhsl(246, 42%, 46%)
HSVhsv(246, 59%, 65%)
CMYKcmyk(53.3%, 58.7%, 0%, 34.5%)
CIE-LABlab(35.33, 31.26, -51.79)
CIE-LCHlch(35.33, 60.49, 301.11°)
OKLaboklab(45.53% 0.0334 -0.1483)
OKLCHoklch(45.53% 0.152 282.7)
XYZxyz(12.2429, 8.6653, 37.5792)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45A7 #9EA745
analogous
#456DA7 #4E45A7 #7F45A7
triadic
#4E45A7 #A74E45 #45A74E
tetradic
#4E45A7 #A7456D #9EA745 #45A77F
square
#4E45A7 #A7456D #9EA745 #45A77F
split-complementary
#4E45A7 #A77F45 #6DA745
monochromatic
#262150 #3A337C #4E45A7 #7168C1 #9A94D3

Accessibility & contrast

On white

7.68
#4E45A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E45A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45A7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45A7#FFFFFF#000000##FFFFFF
##4E45A71.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#295C6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e45a7;
/* rgb */ color: rgb(78, 69, 167);
/* oklch */ color: oklch(45.5% 0.152 282.7);
Tailwind
colors: {
  custom: {
    50: '#8779c2',
    500: '#4e45a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e45a7;
$custom-light: #8779c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45a7",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 245.51,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.15201,
    "h": 282.7
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#4E45A7
secondary
#BABE89
accent
#D156C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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