#4841B7#4841B7

#4841B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.180 H 279.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4841B7
RGBrgb(72, 65, 183)
HSLhsl(244, 48%, 49%)
HSVhsv(244, 64%, 72%)
CMYKcmyk(60.7%, 64.5%, 0%, 28.2%)
CIE-LABlab(35.16, 37.83, -61.61)
CIE-LCHlch(35.16, 72.29, 301.55°)
OKLaboklab(45.68% 0.0287 -0.1773)
OKLCHoklch(45.68% 0.18 279.2)
XYZxyz(13.1073, 8.5762, 45.7552)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B7 #B0B741
analogous
#4175B7 #4841B7 #8341B7
triadic
#4841B7 #B74841 #41B748
tetradic
#4841B7 #B74175 #B0B741 #41B783
square
#4841B7 #B74175 #B0B741 #41B783
split-complementary
#4841B7 #B78341 #75B741
monochromatic
#24215D #36318A #4841B7 #706BCA #9C98DA

Accessibility & contrast

On white

7.73
#4841B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4841B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B7#FFFFFF#000000##FFFFFF
##4841B71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4841b7;
/* rgb */ color: rgb(72, 65, 183);
/* oklch */ color: oklch(45.7% 0.180 279.2);
Tailwind
colors: {
  custom: {
    50: '#8776ce',
    500: '#4841b7',
    950: '#000000',
  },
}
SCSS
$custom: #4841b7;
$custom-light: #8776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b7",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 243.559,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.17966,
    "h": 279.2
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4841B7

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

Preview Lab → · Contrast checker → · Palette generator →

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