#4A3ACB#4A3ACB

#4A3ACB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.212 H 279.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4A3ACB
RGBrgb(74, 58, 203)
HSLhsl(247, 58%, 51%)
HSVhsv(247, 71%, 80%)
CMYKcmyk(63.5%, 71.4%, 0%, 20.4%)
CIE-LABlab(35.58, 48.54, -72.62)
CIE-LCHlch(35.58, 87.35, 303.76°)
OKLaboklab(46.56% 0.0339 -0.2096)
OKLCHoklch(46.56% 0.212 279.2)
XYZxyz(15.1131, 8.7926, 57.3890)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3ACB #BBCB3A
analogous
#3A72CB #4A3ACB #923ACB
triadic
#4A3ACB #CB4A3A #3ACB4A
tetradic
#4A3ACB #CB3A72 #BBCB3A #3ACB92
square
#4A3ACB #CB3A72 #BBCB3A #3ACB92
split-complementary
#4A3ACB #CB923A #72CB3A
monochromatic
#261D6E #372A9E #4A3ACB #766AD8 #A39BE5

Accessibility & contrast

On white

7.61
#4A3ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A3ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3ACB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3ACB#FFFFFF#000000##FFFFFF
##4A3ACB1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a3acb;
/* rgb */ color: rgb(74, 58, 203);
/* oklch */ color: oklch(46.6% 0.212 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c72dc',
    500: '#4a3acb',
    950: '#000000',
  },
}
SCSS
$custom: #4a3acb;
$custom-light: #8c72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3acb",
  "rgb": {
    "r": 74,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 246.621,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.21228,
    "h": 279.2
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#4A3ACB
secondary
#C9D090
accent
#E146D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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