#4841B4#4841B4

#4841B4 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.176 H 279.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4841B4
RGBrgb(72, 65, 180)
HSLhsl(244, 47%, 48%)
HSVhsv(244, 64%, 71%)
CMYKcmyk(60%, 63.9%, 0%, 29.4%)
CIE-LABlab(34.91, 36.84, -60.23)
CIE-LCHlch(34.91, 70.61, 301.45°)
OKLaboklab(45.42% 0.029 -0.1733)
OKLCHoklch(45.42% 0.176 279.5)
XYZxyz(12.7984, 8.4527, 44.1283)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B4 #ADB441
analogous
#4173B4 #4841B4 #8141B4
triadic
#4841B4 #B44841 #41B448
tetradic
#4841B4 #B44173 #ADB441 #41B481
square
#4841B4 #B44173 #ADB441 #41B481
split-complementary
#4841B4 #B48141 #73B441
monochromatic
#24215A #363187 #4841B4 #6F69C9 #9A96D9

Accessibility & contrast

On white

7.80
#4841B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4841B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B4#FFFFFF#000000##FFFFFF
##4841B41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4841b4;
/* rgb */ color: rgb(72, 65, 180);
/* oklch */ color: oklch(45.4% 0.176 279.5);
Tailwind
colors: {
  custom: {
    50: '#8676cb',
    500: '#4841b4',
    950: '#000000',
  },
}
SCSS
$custom: #4841b4;
$custom-light: #8676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b4",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 243.652,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.17574,
    "h": 279.5
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#4841B4
secondary
#C1C58C
accent
#D751CE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4841B4

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

Preview Lab → · Contrast checker → · Palette generator →

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