#4841B5#4841B5

#4841B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.177 H 279.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4841B5
RGBrgb(72, 65, 181)
HSLhsl(244, 47%, 48%)
HSVhsv(244, 64%, 71%)
CMYKcmyk(60.2%, 64.1%, 0%, 29%)
CIE-LABlab(34.99, 37.17, -60.69)
CIE-LCHlch(34.99, 71.17, 301.49°)
OKLaboklab(45.5% 0.0289 -0.1747)
OKLCHoklch(45.5% 0.177 279.4)
XYZxyz(12.9006, 8.4936, 44.6667)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B5 #AEB541
analogous
#4174B5 #4841B5 #8241B5
triadic
#4841B5 #B54841 #41B548
tetradic
#4841B5 #B54174 #AEB541 #41B582
square
#4841B5 #B54174 #AEB541 #41B582
split-complementary
#4841B5 #B58241 #74B541
monochromatic
#24215B #363188 #4841B5 #706AC9 #9B97DA

Accessibility & contrast

On white

7.78
#4841B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4841B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B5#FFFFFF#000000##FFFFFF
##4841B51.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4841b5;
/* rgb */ color: rgb(72, 65, 181);
/* oklch */ color: oklch(45.5% 0.177 279.4);
Tailwind
colors: {
  custom: {
    50: '#8676cc',
    500: '#4841b5',
    950: '#000000',
  },
}
SCSS
$custom: #4841b5;
$custom-light: #8676cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b5",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 243.621,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45503,
    "c": 0.17704,
    "h": 279.4
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#4841B5
secondary
#C2C58C
accent
#D751CF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4841B5

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

Preview Lab → · Contrast checker → · Palette generator →

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