#4A3EC5#4A3EC5

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

Color values

HEX#4A3EC5
RGBrgb(74, 62, 197)
HSLhsl(245, 54%, 51%)
HSVhsv(245, 69%, 77%)
CMYKcmyk(62.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(35.85, 44.41, -68.68)
CIE-LCHlch(35.85, 81.79, 302.89°)
OKLaboklab(46.59% 0.0321 -0.198)
OKLCHoklch(46.59% 0.201 279.2)
XYZxyz(14.6215, 8.9312, 53.7659)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3EC5 #B9C53E
analogous
#3E75C5 #4A3EC5 #8D3EC5
triadic
#4A3EC5 #C54A3E #3EC54A
tetradic
#4A3EC5 #C53E75 #B9C53E #3EC58D
square
#4A3EC5 #C53E75 #B9C53E #3EC58D
split-complementary
#4A3EC5 #C58D3E #75C53E
monochromatic
#262069 #372E98 #4A3EC5 #766DD3 #A29CE1

Accessibility & contrast

On white

7.54
#4A3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3EC5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3EC5#FFFFFF#000000##FFFFFF
##4A3EC51.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a3ec5;
/* rgb */ color: rgb(74, 62, 197);
/* oklch */ color: oklch(46.6% 0.201 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b75d8',
    500: '#4a3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4a3ec5;
$custom-light: #8b75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3ec5",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 245.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.20063,
    "h": 279.2
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#4A3EC5
secondary
#C8CD91
accent
#DD4BD0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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