#4836CC#4836CC

#4836CC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.218 H 278.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4836CC
RGBrgb(72, 54, 204)
HSLhsl(247, 60%, 51%)
HSVhsv(247, 74%, 80%)
CMYKcmyk(64.7%, 73.5%, 0%, 20%)
CIE-LABlab(34.75, 50.77, -74.57)
CIE-LCHlch(34.75, 90.22, 304.25°)
OKLaboklab(45.96% 0.0336 -0.2153)
OKLCHoklch(45.96% 0.218 278.9)
XYZxyz(14.8872, 8.3745, 57.9469)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836CC #BACC36
analogous
#366FCC #4836CC #9336CC
triadic
#4836CC #CC4836 #36CC48
tetradic
#4836CC #CC366F #BACC36 #36CC93
square
#4836CC #CC366F #BACC36 #36CC93
split-complementary
#4836CC #CC9336 #6FCC36
monochromatic
#251B6C #36289D #4836CC #7467D8 #A198E5

Accessibility & contrast

On white

7.85
#4836CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4836CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836CC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836CC#FFFFFF#000000##FFFFFF
##4836CC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4836cc;
/* rgb */ color: rgb(72, 54, 204);
/* oklch */ color: oklch(46.0% 0.218 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c70dd',
    500: '#4836cc',
    950: '#000000',
  },
}
SCSS
$custom: #4836cc;
$custom-light: #8c70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4836cc",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 247.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.21792,
    "h": 278.9
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#4836CC
secondary
#C8D08E
accent
#E345D0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4836CC

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

Preview Lab → · Contrast checker → · Palette generator →

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