#4E45AA#4E45AA

#4E45AA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.156 H 282.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E45AA
RGBrgb(78, 69, 170)
HSLhsl(245, 42%, 47%)
HSVhsv(245, 59%, 67%)
CMYKcmyk(54.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(35.55, 32.22, -53.22)
CIE-LCHlch(35.55, 62.21, 301.19°)
OKLaboklab(45.77% 0.0333 -0.1525)
OKLCHoklch(45.77% 0.156 282.3)
XYZxyz(12.5235, 8.7775, 39.0567)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E45AA #A1AA45
analogous
#456EAA #4E45AA #8145AA
triadic
#4E45AA #AA4E45 #45AA4E
tetradic
#4E45AA #AA456E #A1AA45 #45AA81
square
#4E45AA #AA456E #A1AA45 #45AA81
split-complementary
#4E45AA #AA8145 #6EAA45
monochromatic
#262253 #3A337E #4E45AA #726AC2 #9B95D4

Accessibility & contrast

On white

7.62
#4E45AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E45AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E45AA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E45AA#FFFFFF#000000##FFFFFF
##4E45AA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#265D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e45aa;
/* rgb */ color: rgb(78, 69, 170);
/* oklch */ color: oklch(45.8% 0.156 282.3);
Tailwind
colors: {
  custom: {
    50: '#8879c4',
    500: '#4e45aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e45aa;
$custom-light: #8879c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e45aa",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 245.347,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.15612,
    "h": 282.3
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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