#4841AB#4841AB

#4841AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.164 H 280.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4841AB
RGBrgb(72, 65, 171)
HSLhsl(244, 45%, 46%)
HSVhsv(244, 62%, 67%)
CMYKcmyk(57.9%, 62%, 0%, 32.9%)
CIE-LABlab(34.19, 33.89, -56.06)
CIE-LCHlch(34.19, 65.51, 301.16°)
OKLaboklab(44.66% 0.0296 -0.1611)
OKLCHoklch(44.66% 0.164 280.4)
XYZxyz(11.9112, 8.0978, 39.4556)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841AB #A4AB41
analogous
#416FAB #4841AB #7D41AB
triadic
#4841AB #AB4841 #41AB48
tetradic
#4841AB #AB416F #A4AB41 #41AB7D
square
#4841AB #AB416F #A4AB41 #41AB7D
split-complementary
#4841AB #AB7D41 #6FAB41
monochromatic
#231F52 #35307F #4841AB #6B65C4 #9691D5

Accessibility & contrast

On white

8.02
#4841AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4841AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841AB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841AB#FFFFFF#000000##FFFFFF
##4841AB1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#0E5B70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4841ab;
/* rgb */ color: rgb(72, 65, 171);
/* oklch */ color: oklch(44.7% 0.164 280.4);
Tailwind
colors: {
  custom: {
    50: '#8576c5',
    500: '#4841ab',
    950: '#000000',
  },
}
SCSS
$custom: #4841ab;
$custom-light: #8576c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4841ab",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 243.962,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44664,
    "c": 0.16376,
    "h": 280.4
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#4841AB
secondary
#BDC187
accent
#D553CC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4841AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4841AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva