#4836C6#4836C6

#4836C6 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.211 H 279.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4836C6
RGBrgb(72, 54, 198)
HSLhsl(248, 57%, 49%)
HSVhsv(248, 73%, 78%)
CMYKcmyk(63.6%, 72.7%, 0%, 22.4%)
CIE-LABlab(34.17, 48.93, -72.03)
CIE-LCHlch(34.17, 87.07, 304.19°)
OKLaboklab(45.38% 0.0349 -0.2079)
OKLCHoklch(45.38% 0.211 279.5)
XYZxyz(14.1814, 8.0922, 54.2297)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836C6 #B4C636
analogous
#366CC6 #4836C6 #9036C6
triadic
#4836C6 #C64836 #36C648
tetradic
#4836C6 #C6366C #B4C636 #36C690
square
#4836C6 #C6366C #B4C636 #36C690
split-complementary
#4836C6 #C69036 #6CC636
monochromatic
#251C66 #372996 #4836C6 #7264D5 #9E94E2

Accessibility & contrast

On white

8.02
#4836C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4836C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836C6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836C6#FFFFFF#000000##FFFFFF
##4836C61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4836c6;
/* rgb */ color: rgb(72, 54, 198);
/* oklch */ color: oklch(45.4% 0.211 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a6fd9',
    500: '#4836c6',
    950: '#000000',
  },
}
SCSS
$custom: #4836c6;
$custom-light: #8a6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4836c6",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.21078,
    "h": 279.5
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#4836C6
secondary
#C5CD8B
accent
#E047CD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4836C6

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

Preview Lab → · Contrast checker → · Palette generator →

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