#4841D4#4841D4

#4841D4 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.216 H 276.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4841D4
RGBrgb(72, 65, 212)
HSLhsl(243, 63%, 54%)
HSVhsv(243, 69%, 83%)
CMYKcmyk(66%, 69.3%, 0%, 16.9%)
CIE-LABlab(37.68, 47.22, -74.39)
CIE-LCHlch(37.68, 88.11, 302.40°)
OKLaboklab(48.28% 0.0251 -0.2148)
OKLCHoklch(48.28% 0.216 276.7)
XYZxyz(16.4426, 9.9104, 63.3210)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841D4 #CDD441
analogous
#4184D4 #4841D4 #9241D4
triadic
#4841D4 #D44841 #41D448
tetradic
#4841D4 #D44184 #CDD441 #41D492
square
#4841D4 #D44184 #CDD441 #41D492
split-complementary
#4841D4 #D49241 #84D441
monochromatic
#211D7E #2E28B0 #4841D4 #7873DF #A8A5EB

Accessibility & contrast

On white

7.04
#4841D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4841D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841D4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841D4#FFFFFF#000000##FFFFFF
##4841D41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4841d4;
/* rgb */ color: rgb(72, 65, 212);
/* oklch */ color: oklch(48.3% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c77e2',
    500: '#4841d4',
    950: '#000000',
  },
}
SCSS
$custom: #4841d4;
$custom-light: #8c77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4841d4",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 242.857,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.21627,
    "h": 276.7
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#4841D4
secondary
#D5D899
accent
#E642DE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4841D4

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

Preview Lab → · Contrast checker → · Palette generator →

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