#4A3EC2#4A3EC2

#4A3EC2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.3% C 0.197 H 279.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4A3EC2
RGBrgb(74, 62, 194)
HSLhsl(245, 52%, 50%)
HSVhsv(245, 68%, 76%)
CMYKcmyk(61.9%, 68%, 0%, 23.9%)
CIE-LABlab(35.59, 43.46, -67.36)
CIE-LCHlch(35.59, 80.16, 302.83°)
OKLaboklab(46.32% 0.0325 -0.1942)
OKLCHoklch(46.32% 0.197 279.5)
XYZxyz(14.2812, 8.7951, 51.9735)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3EC2 #B6C23E
analogous
#3E74C2 #4A3EC2 #8C3EC2
triadic
#4A3EC2 #C24A3E #3EC24A
tetradic
#4A3EC2 #C23E74 #B6C23E #3EC28C
square
#4A3EC2 #C23E74 #B6C23E #3EC28C
split-complementary
#4A3EC2 #C28C3E #74C23E
monochromatic
#262066 #382F94 #4A3EC2 #766DD1 #A19BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A3EC2#FFFFFF#000000##FFFFFF
##4A3EC21.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)
#0059C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a3ec2;
/* rgb */ color: rgb(74, 62, 194);
/* oklch */ color: oklch(46.3% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a75d6',
    500: '#4a3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4a3ec2;
$custom-light: #8a75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3ec2",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 245.455,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.19688,
    "h": 279.5
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#4A3EC2
secondary
#C6CB90
accent
#DB4CCE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4A3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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