#4841B9#4841B9

#4841B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.182 H 279.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4841B9
RGBrgb(72, 65, 185)
HSLhsl(244, 48%, 49%)
HSVhsv(244, 65%, 73%)
CMYKcmyk(61.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(35.32, 38.48, -62.51)
CIE-LCHlch(35.32, 73.41, 301.61°)
OKLaboklab(45.85% 0.0285 -0.18)
OKLCHoklch(45.85% 0.182 279)
XYZxyz(13.3169, 8.6601, 46.8593)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B9 #B2B941
analogous
#4176B9 #4841B9 #8441B9
triadic
#4841B9 #B94841 #41B948
tetradic
#4841B9 #B94176 #B2B941 #41B984
square
#4841B9 #B94176 #B2B941 #41B984
split-complementary
#4841B9 #B98441 #76B941
monochromatic
#25215E #36318C #4841B9 #716CCB #9D99DB

Accessibility & contrast

On white

7.69
#4841B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4841B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B9#FFFFFF#000000##FFFFFF
##4841B91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4841b9;
/* rgb */ color: rgb(72, 65, 185);
/* oklch */ color: oklch(45.8% 0.182 279.0);
Tailwind
colors: {
  custom: {
    50: '#8776cf',
    500: '#4841b9',
    950: '#000000',
  },
}
SCSS
$custom: #4841b9;
$custom-light: #8776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b9",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 243.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.18227,
    "h": 279
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#4841B9
secondary
#C4C78F
accent
#D850D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4841B9

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

Preview Lab → · Contrast checker → · Palette generator →

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