#4842AA#4842AA

#4842AA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.161 H 280.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4842AA
RGBrgb(72, 66, 170)
HSLhsl(243, 44%, 46%)
HSVhsv(243, 61%, 67%)
CMYKcmyk(57.6%, 61.2%, 0%, 33.3%)
CIE-LABlab(34.35, 32.94, -55.20)
CIE-LCHlch(34.35, 64.29, 300.83°)
OKLaboklab(44.76% 0.0287 -0.1585)
OKLCHoklch(44.76% 0.161 280.3)
XYZxyz(11.8741, 8.1756, 38.9748)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842AA #A4AA42
analogous
#4270AA #4842AA #7C42AA
triadic
#4842AA #AA4842 #42AA48
tetradic
#4842AA #AA4270 #A4AA42 #42AA7C
square
#4842AA #AA4270 #A4AA42 #42AA7C
split-complementary
#4842AA #AA7C42 #70AA42
monochromatic
#232052 #35317E #4842AA #6B66C3 #9692D5

Accessibility & contrast

On white

7.97
#4842AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4842AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4842AA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842AA#FFFFFF#000000##FFFFFF
##4842AA1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#105B6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4842aa;
/* rgb */ color: rgb(72, 66, 170);
/* oklch */ color: oklch(44.8% 0.161 280.3);
Tailwind
colors: {
  custom: {
    50: '#8477c4',
    500: '#4842aa',
    950: '#000000',
  },
}
SCSS
$custom: #4842aa;
$custom-light: #8477c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4842aa",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 243.462,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.16111,
    "h": 280.3
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#4842AA
secondary
#BDC088
accent
#D454CC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4842AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4842AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva