#4A3EB8#4A3EB8

#4A3EB8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.184 H 280.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4A3EB8
RGBrgb(74, 62, 184)
HSLhsl(246, 50%, 48%)
HSVhsv(246, 66%, 72%)
CMYKcmyk(59.8%, 66.3%, 0%, 27.8%)
CIE-LABlab(34.72, 40.27, -62.90)
CIE-LCHlch(34.72, 74.68, 302.63°)
OKLaboklab(45.43% 0.0338 -0.1811)
OKLCHoklch(45.43% 0.184 280.6)
XYZxyz(13.1957, 8.3609, 46.2566)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3EB8 #ACB83E
analogous
#3E6FB8 #4A3EB8 #873EB8
triadic
#4A3EB8 #B84A3E #3EB84A
tetradic
#4A3EB8 #B83E6F #ACB83E #3EB887
square
#4A3EB8 #B83E6F #ACB83E #3EB887
split-complementary
#4A3EB8 #B8873E #6FB83E
monochromatic
#251F5C #382F8A #4A3EB8 #7167CC #9C95DB

Accessibility & contrast

On white

7.86
#4A3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4A3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3EB8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3EB8#FFFFFF#000000##FFFFFF
##4A3EB81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a3eb8;
/* rgb */ color: rgb(74, 62, 184);
/* oklch */ color: oklch(45.4% 0.184 280.6);
Tailwind
colors: {
  custom: {
    50: '#8874ce',
    500: '#4a3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4a3eb8;
$custom-light: #8874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3eb8",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 245.902,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.18422,
    "h": 280.6
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#4A3EB8
secondary
#C1C78B
accent
#D94FCC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4A3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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