#4841B0#4841B0

#4841B0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.170 H 279.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4841B0
RGBrgb(72, 65, 176)
HSLhsl(244, 46%, 47%)
HSVhsv(244, 63%, 69%)
CMYKcmyk(59.1%, 63.1%, 0%, 31%)
CIE-LABlab(34.58, 35.53, -58.39)
CIE-LCHlch(34.58, 68.35, 301.32°)
OKLaboklab(45.08% 0.0293 -0.1679)
OKLCHoklch(45.08% 0.17 279.9)
XYZxyz(12.3968, 8.2920, 42.0131)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B0 #A9B041
analogous
#4171B0 #4841B0 #8041B0
triadic
#4841B0 #B04841 #41B048
tetradic
#4841B0 #B04171 #A9B041 #41B080
square
#4841B0 #B04171 #A9B041 #41B080
split-complementary
#4841B0 #B08041 #71B041
monochromatic
#232057 #363083 #4841B0 #6D67C7 #9894D7

Accessibility & contrast

On white

7.90
#4841B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4841B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841B0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B0#FFFFFF#000000##FFFFFF
##4841B01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4841b0;
/* rgb */ color: rgb(72, 65, 176);
/* oklch */ color: oklch(45.1% 0.170 279.9);
Tailwind
colors: {
  custom: {
    50: '#8676c8',
    500: '#4841b0',
    950: '#000000',
  },
}
SCSS
$custom: #4841b0;
$custom-light: #8676c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b0",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 243.784,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.17044,
    "h": 279.9
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#4841B0
secondary
#BFC38A
accent
#D652CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4841B0

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

Preview Lab → · Contrast checker → · Palette generator →

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