#4836C4#4836C4

#4836C4 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.208 H 279.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4836C4
RGBrgb(72, 54, 196)
HSLhsl(248, 57%, 49%)
HSVhsv(248, 72%, 77%)
CMYKcmyk(63.3%, 72.4%, 0%, 23.1%)
CIE-LABlab(33.98, 48.31, -71.17)
CIE-LCHlch(33.98, 86.02, 304.17°)
OKLaboklab(45.18% 0.0353 -0.2054)
OKLCHoklch(45.18% 0.208 279.8)
XYZxyz(13.9523, 8.0005, 53.0229)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836C4 #B2C436
analogous
#366BC4 #4836C4 #8F36C4
triadic
#4836C4 #C44836 #36C448
tetradic
#4836C4 #C4366B #B2C436 #36C48F
square
#4836C4 #C4366B #B2C436 #36C48F
split-complementary
#4836C4 #C48F36 #6BC436
monochromatic
#251C64 #362994 #4836C4 #7163D4 #9D93E1

Accessibility & contrast

On white

8.08
#4836C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4836C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836C4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836C4#FFFFFF#000000##FFFFFF
##4836C41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4836c4;
/* rgb */ color: rgb(72, 54, 196);
/* oklch */ color: oklch(45.2% 0.208 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a6fd7',
    500: '#4836c4',
    950: '#000000',
  },
}
SCSS
$custom: #4836c4;
$custom-light: #8a6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4836c4",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 247.606,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.20837,
    "h": 279.8
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#4836C4
secondary
#C4CC89
accent
#E048CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4836C4

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

Preview Lab → · Contrast checker → · Palette generator →

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