#4836CF#4836CF

#4836CF is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.221 H 278.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4836CF
RGBrgb(72, 54, 207)
HSLhsl(247, 61%, 51%)
HSVhsv(247, 74%, 81%)
CMYKcmyk(65.2%, 73.9%, 0%, 18.8%)
CIE-LABlab(35.04, 51.69, -75.84)
CIE-LCHlch(35.04, 91.77, 304.28°)
OKLaboklab(46.25% 0.033 -0.219)
OKLCHoklch(46.25% 0.221 278.6)
XYZxyz(15.2505, 8.5198, 59.8602)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4836CF #BDCF36
analogous
#3670CF #4836CF #9436CF
triadic
#4836CF #CF4836 #36CF48
tetradic
#4836CF #CF3670 #BDCF36 #36CF94
square
#4836CF #CF3670 #BDCF36 #36CF94
split-complementary
#4836CF #CF9436 #70CF36
monochromatic
#251B70 #3527A1 #4836CF #7567DB #A299E7

Accessibility & contrast

On white

7.77
#4836CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4836CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4836CF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4836CF#FFFFFF#000000##FFFFFF
##4836CF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4836cf;
/* rgb */ color: rgb(72, 54, 207);
/* oklch */ color: oklch(46.3% 0.221 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c70df',
    500: '#4836cf',
    950: '#000000',
  },
}
SCSS
$custom: #4836cf;
$custom-light: #8c70df;
$custom-dark: #000000;
JSON
{
  "hex": "#4836cf",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 247.059,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.22146,
    "h": 278.6
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#4836CF
secondary
#CAD28F
accent
#E543D2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4836CF

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

Preview Lab → · Contrast checker → · Palette generator →

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