#4836C2#4836C2

#4836C2 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.206 H 280.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4836C2
RGBrgb(72, 54, 194)
HSLhsl(248, 56%, 49%)
HSVhsv(248, 72%, 76%)
CMYKcmyk(62.9%, 72.2%, 0%, 23.9%)
CIE-LABlab(33.79, 47.69, -70.31)
CIE-LCHlch(33.79, 84.96, 304.15°)
OKLaboklab(44.99% 0.0357 -0.2028)
OKLCHoklch(44.99% 0.206 280)
XYZxyz(13.7262, 7.9100, 51.8319)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836C2 #B0C236
analogous
#366AC2 #4836C2 #8E36C2
triadic
#4836C2 #C24836 #36C248
tetradic
#4836C2 #C2366A #B0C236 #36C28E
square
#4836C2 #C2366A #B0C236 #36C28E
split-complementary
#4836C2 #C28E36 #6AC236
monochromatic
#241B62 #362992 #4836C2 #7062D3 #9C92E1

Accessibility & contrast

On white

8.13
#4836C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4836C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836C2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836C2#FFFFFF#000000##FFFFFF
##4836C21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4836c2;
/* rgb */ color: rgb(72, 54, 194);
/* oklch */ color: oklch(45.0% 0.206 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a6fd6',
    500: '#4836c2',
    950: '#000000',
  },
}
SCSS
$custom: #4836c2;
$custom-light: #8a6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4836c2",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 247.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.20597,
    "h": 280
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#4836C2
secondary
#C3CC88
accent
#E048CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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