#3A2EA3#3A2EA3

#3A2EA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.179 H 279.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3A2EA3
RGBrgb(58, 46, 163)
HSLhsl(246, 56%, 41%)
HSVhsv(246, 72%, 64%)
CMYKcmyk(64.4%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.11, 40.54, -61.23)
CIE-LCHlch(28.11, 73.44, 303.51°)
OKLaboklab(39.76% 0.0282 -0.1767)
OKLCHoklch(39.76% 0.179 279.1)
XYZxyz(9.3307, 5.4971, 35.2126)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EA3 #97A32E
analogous
#2E5CA3 #3A2EA3 #742EA3
triadic
#3A2EA3 #A33A2E #2EA33A
tetradic
#3A2EA3 #A32E5C #97A32E #2EA374
square
#3A2EA3 #A32E5C #97A32E #2EA374
split-complementary
#3A2EA3 #A3742E #5CA32E
monochromatic
#181344 #292173 #3A2EA3 #5244CA #7E74D8

Accessibility & contrast

On white

10.00
#3A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EA3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EA3#FFFFFF#000000##FFFFFF
##3A2EA31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ea3;
/* rgb */ color: rgb(58, 46, 163);
/* oklch */ color: oklch(39.8% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#7e68bf',
    500: '#3a2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ea3;
$custom-light: #7e68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ea3",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 246.154,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.17893,
    "h": 279.1
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#3A2EA3
secondary
#B7BF6D
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

#3A2EA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva