#4841B2#4841B2

#4841B2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.173 H 279.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4841B2
RGBrgb(72, 65, 178)
HSLhsl(244, 47%, 48%)
HSVhsv(244, 63%, 70%)
CMYKcmyk(59.6%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.75, 36.19, -59.31)
CIE-LCHlch(34.75, 69.48, 301.39°)
OKLaboklab(45.25% 0.0291 -0.1706)
OKLCHoklch(45.25% 0.173 279.7)
XYZxyz(12.5961, 8.3718, 43.0630)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B2 #ABB241
analogous
#4172B2 #4841B2 #8141B2
triadic
#4841B2 #B24841 #41B248
tetradic
#4841B2 #B24172 #ABB241 #41B281
square
#4841B2 #B24172 #ABB241 #41B281
split-complementary
#4841B2 #B28141 #72B241
monochromatic
#242058 #363185 #4841B2 #6E68C8 #9995D8

Accessibility & contrast

On white

7.85
#4841B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4841B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B2#FFFFFF#000000##FFFFFF
##4841B21.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4841b2;
/* rgb */ color: rgb(72, 65, 178);
/* oklch */ color: oklch(45.2% 0.173 279.7);
Tailwind
colors: {
  custom: {
    50: '#8676ca',
    500: '#4841b2',
    950: '#000000',
  },
}
SCSS
$custom: #4841b2;
$custom-light: #8676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b2",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 243.717,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.1731,
    "h": 279.7
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4841B2

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

Preview Lab → · Contrast checker → · Palette generator →

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