#4841B1#4841B1

#4841B1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.172 H 279.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4841B1
RGBrgb(72, 65, 177)
HSLhsl(244, 46%, 47%)
HSVhsv(244, 63%, 69%)
CMYKcmyk(59.3%, 63.3%, 0%, 30.6%)
CIE-LABlab(34.66, 35.86, -58.85)
CIE-LCHlch(34.66, 68.92, 301.36°)
OKLaboklab(45.16% 0.0292 -0.1693)
OKLCHoklch(45.16% 0.172 279.8)
XYZxyz(12.4961, 8.3318, 42.5361)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B1 #AAB141
analogous
#4172B1 #4841B1 #8041B1
triadic
#4841B1 #B14841 #41B148
tetradic
#4841B1 #B14172 #AAB141 #41B180
square
#4841B1 #B14172 #AAB141 #41B180
split-complementary
#4841B1 #B18041 #72B141
monochromatic
#242057 #363184 #4841B1 #6E68C7 #9995D8

Accessibility & contrast

On white

7.88
#4841B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4841B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B1#FFFFFF#000000##FFFFFF
##4841B11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4841b1;
/* rgb */ color: rgb(72, 65, 177);
/* oklch */ color: oklch(45.2% 0.172 279.8);
Tailwind
colors: {
  custom: {
    50: '#8676c9',
    500: '#4841b1',
    950: '#000000',
  },
}
SCSS
$custom: #4841b1;
$custom-light: #8676c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b1",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 243.75,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.17177,
    "h": 279.8
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#4841B1
secondary
#C0C38A
accent
#D652CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4841B1

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

Preview Lab → · Contrast checker → · Palette generator →

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