#4841C2#4841C2

#4841C2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.194 H 278.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4841C2
RGBrgb(72, 65, 194)
HSLhsl(243, 51%, 51%)
HSVhsv(243, 66%, 76%)
CMYKcmyk(62.9%, 66.5%, 0%, 23.9%)
CIE-LABlab(36.08, 41.41, -66.55)
CIE-LCHlch(36.08, 78.38, 301.89°)
OKLaboklab(46.64% 0.0276 -0.1919)
OKLCHoklch(46.64% 0.194 278.2)
XYZxyz(14.2973, 9.0522, 52.0223)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841C2 #BBC241
analogous
#417AC2 #4841C2 #8841C2
triadic
#4841C2 #C24841 #41C248
tetradic
#4841C2 #C2417A #BBC241 #41C288
square
#4841C2 #C2417A #BBC241 #41C288
split-complementary
#4841C2 #C28841 #7AC241
monochromatic
#252167 #363096 #4841C2 #756FD1 #A19EE0

Accessibility & contrast

On white

7.47
#4841C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4841C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841C2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841C2#FFFFFF#000000##FFFFFF
##4841C21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4841c2;
/* rgb */ color: rgb(72, 65, 194);
/* oklch */ color: oklch(46.6% 0.194 278.2);
Tailwind
colors: {
  custom: {
    50: '#8976d5',
    500: '#4841c2',
    950: '#000000',
  },
}
SCSS
$custom: #4841c2;
$custom-light: #8976d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4841c2",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 243.256,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.19383,
    "h": 278.2
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#4841C2
secondary
#C9CC93
accent
#DB4DD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4841C2

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

Preview Lab → · Contrast checker → · Palette generator →

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