#4A36CB#4A36CB

#4A36CB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.216 H 279.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4A36CB
RGBrgb(74, 54, 203)
HSLhsl(248, 59%, 50%)
HSVhsv(248, 73%, 80%)
CMYKcmyk(63.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(34.81, 50.70, -73.89)
CIE-LCHlch(34.81, 89.61, 304.46°)
OKLaboklab(46.01% 0.0365 -0.2132)
OKLCHoklch(46.01% 0.216 279.7)
XYZxyz(14.9193, 8.4048, 57.3244)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A36CB #B7CB36
analogous
#366CCB #4A36CB #9536CB
triadic
#4A36CB #CB4A36 #36CB4A
tetradic
#4A36CB #CB366C #B7CB36 #36CB95
square
#4A36CB #CB366C #B7CB36 #36CB95
split-complementary
#4A36CB #CB9536 #6CCB36
monochromatic
#261C6B #38289C #4A36CB #7667D8 #A297E4

Accessibility & contrast

On white

7.83
#4A36CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4A36CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A36CB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A36CB#FFFFFF#000000##FFFFFF
##4A36CB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a36cb;
/* rgb */ color: rgb(74, 54, 203);
/* oklch */ color: oklch(46.0% 0.216 279.7);
Tailwind
colors: {
  custom: {
    50: '#8c70dc',
    500: '#4a36cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a36cb;
$custom-light: #8c70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a36cb",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 248.054,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.21635,
    "h": 279.7
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#4A36CB
secondary
#C7D08D
accent
#E246CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4A36CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4A36CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva