#4841B6#4841B6

#4841B6 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.178 H 279.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4841B6
RGBrgb(72, 65, 182)
HSLhsl(244, 47%, 48%)
HSVhsv(244, 64%, 71%)
CMYKcmyk(60.4%, 64.3%, 0%, 28.6%)
CIE-LABlab(35.07, 37.50, -61.15)
CIE-LCHlch(35.07, 71.73, 301.52°)
OKLaboklab(45.59% 0.0288 -0.176)
OKLCHoklch(45.59% 0.178 279.3)
XYZxyz(13.0036, 8.5348, 45.2090)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B6 #AFB641
analogous
#4174B6 #4841B6 #8241B6
triadic
#4841B6 #B64841 #41B648
tetradic
#4841B6 #B64174 #AFB641 #41B682
square
#4841B6 #B64174 #AFB641 #41B682
split-complementary
#4841B6 #B68241 #74B641
monochromatic
#24215C #363189 #4841B6 #706ACA #9B97DA

Accessibility & contrast

On white

7.76
#4841B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4841B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B6#FFFFFF#000000##FFFFFF
##4841B61.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4841b6;
/* rgb */ color: rgb(72, 65, 182);
/* oklch */ color: oklch(45.6% 0.178 279.3);
Tailwind
colors: {
  custom: {
    50: '#8776cd',
    500: '#4841b6',
    950: '#000000',
  },
}
SCSS
$custom: #4841b6;
$custom-light: #8776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b6",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 243.59,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.17836,
    "h": 279.3
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#4841B6
secondary
#C2C68D
accent
#D751CF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4841B6

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

Preview Lab → · Contrast checker → · Palette generator →

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