#4841B8#4841B8

#4841B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.181 H 279.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4841B8
RGBrgb(72, 65, 184)
HSLhsl(244, 48%, 49%)
HSVhsv(244, 65%, 72%)
CMYKcmyk(60.9%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.24, 38.15, -62.06)
CIE-LCHlch(35.24, 72.85, 301.58°)
OKLaboklab(45.76% 0.0286 -0.1787)
OKLCHoklch(45.76% 0.181 279.1)
XYZxyz(13.2118, 8.6180, 46.3053)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841B8 #B1B841
analogous
#4176B8 #4841B8 #8441B8
triadic
#4841B8 #B84841 #41B848
tetradic
#4841B8 #B84176 #B1B841 #41B884
square
#4841B8 #B84176 #B1B841 #41B884
split-complementary
#4841B8 #B88441 #76B841
monochromatic
#25215E #36318B #4841B8 #716BCB #9C99DB

Accessibility & contrast

On white

7.71
#4841B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4841B8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841B8#FFFFFF#000000##FFFFFF
##4841B81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4841b8;
/* rgb */ color: rgb(72, 65, 184);
/* oklch */ color: oklch(45.8% 0.181 279.1);
Tailwind
colors: {
  custom: {
    50: '#8776ce',
    500: '#4841b8',
    950: '#000000',
  },
}
SCSS
$custom: #4841b8;
$custom-light: #8776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4841b8",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 243.529,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.18097,
    "h": 279.1
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#4841B8
secondary
#C3C78E
accent
#D750CF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4841B8

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

Preview Lab → · Contrast checker → · Palette generator →

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