#4841BD#4841BD

#4841BD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.187 H 278.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4841BD
RGBrgb(72, 65, 189)
HSLhsl(243, 49%, 50%)
HSVhsv(243, 66%, 74%)
CMYKcmyk(61.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(35.66, 39.78, -64.32)
CIE-LCHlch(35.66, 75.63, 301.74°)
OKLaboklab(46.2% 0.0281 -0.1853)
OKLCHoklch(46.2% 0.187 278.6)
XYZxyz(13.7451, 8.8314, 49.1145)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841BD #B6BD41
analogous
#4178BD #4841BD #8641BD
triadic
#4841BD #BD4841 #41BD48
tetradic
#4841BD #BD4178 #B6BD41 #41BD86
square
#4841BD #BD4178 #B6BD41 #41BD86
split-complementary
#4841BD #BD8641 #78BD41
monochromatic
#252262 #37318F #4841BD #736ECD #9F9CDD

Accessibility & contrast

On white

7.59
#4841BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4841BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841BD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841BD#FFFFFF#000000##FFFFFF
##4841BD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4841bd;
/* rgb */ color: rgb(72, 65, 189);
/* oklch */ color: oklch(46.2% 0.187 278.6);
Tailwind
colors: {
  custom: {
    50: '#8876d2',
    500: '#4841bd',
    950: '#000000',
  },
}
SCSS
$custom: #4841bd;
$custom-light: #8876d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4841bd",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 243.387,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.18744,
    "h": 278.6
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#4841BD
secondary
#C6C991
accent
#D84FD1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4841BD

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

Preview Lab → · Contrast checker → · Palette generator →

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