#4836AB#4836AB

#4836AB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.177 H 283.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4836AB
RGBrgb(72, 54, 171)
HSLhsl(249, 52%, 44%)
HSVhsv(249, 68%, 67%)
CMYKcmyk(57.9%, 68.4%, 0%, 32.9%)
CIE-LABlab(31.71, 40.52, -60.11)
CIE-LCHlch(31.71, 72.49, 303.99°)
OKLaboklab(42.86% 0.0398 -0.173)
OKLCHoklch(42.86% 0.177 283)
XYZxyz(11.3401, 6.9556, 39.2652)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836AB #99AB36
analogous
#365FAB #4836AB #8336AB
triadic
#4836AB #AB4836 #36AB48
tetradic
#4836AB #AB365F #99AB36 #36AB83
square
#4836AB #AB365F #99AB36 #36AB83
split-complementary
#4836AB #AB8336 #5FAB36
monochromatic
#21194E #34277C #4836AB #6755C9 #9083D8

Accessibility & contrast

On white

8.78
#4836AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4836AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836AB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836AB#FFFFFF#000000##FFFFFF
##4836AB1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#11546C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4836ab;
/* rgb */ color: rgb(72, 54, 171);
/* oklch */ color: oklch(42.9% 0.177 283.0);
Tailwind
colors: {
  custom: {
    50: '#866ec5',
    500: '#4836ab',
    950: '#000000',
  },
}
SCSS
$custom: #4836ab;
$custom-light: #866ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4836ab",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 249.231,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.17749,
    "h": 283
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#4836AB
secondary
#B7C27B
accent
#DB4CC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4836AB

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

Preview Lab → · Contrast checker → · Palette generator →

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