#4836CB#4836CB

#4836CB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.217 H 279.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4836CB
RGBrgb(72, 54, 203)
HSLhsl(247, 59%, 50%)
HSVhsv(247, 73%, 80%)
CMYKcmyk(64.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(34.65, 50.46, -74.15)
CIE-LCHlch(34.65, 89.69, 304.24°)
OKLaboklab(45.86% 0.0338 -0.2141)
OKLCHoklch(45.86% 0.217 279)
XYZxyz(14.7677, 8.3267, 57.3173)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836CB #B9CB36
analogous
#366FCB #4836CB #9236CB
triadic
#4836CB #CB4836 #36CB48
tetradic
#4836CB #CB366F #B9CB36 #36CB92
square
#4836CB #CB366F #B9CB36 #36CB92
split-complementary
#4836CB #CB9236 #6FCB36
monochromatic
#251C6B #36289C #4836CB #7467D8 #A197E4

Accessibility & contrast

On white

7.88
#4836CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4836CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836CB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836CB#FFFFFF#000000##FFFFFF
##4836CB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4836cb;
/* rgb */ color: rgb(72, 54, 203);
/* oklch */ color: oklch(45.9% 0.217 279.0);
Tailwind
colors: {
  custom: {
    50: '#8b70dc',
    500: '#4836cb',
    950: '#000000',
  },
}
SCSS
$custom: #4836cb;
$custom-light: #8b70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4836cb",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 247.248,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.21673,
    "h": 279
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#4836CB
secondary
#C8D08D
accent
#E246CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4836CB

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

Preview Lab → · Contrast checker → · Palette generator →

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