#3A2CAE#3A2CAE

#3A2CAE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.195 H 278.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3A2CAE
RGBrgb(58, 44, 174)
HSLhsl(246, 60%, 43%)
HSVhsv(246, 75%, 68%)
CMYKcmyk(66.7%, 74.7%, 0%, 31.8%)
CIE-LABlab(28.79, 45.20, -66.74)
CIE-LCHlch(28.79, 80.60, 304.11°)
OKLaboklab(40.58% 0.0273 -0.1927)
OKLCHoklch(40.58% 0.195 278.1)
XYZxyz(10.2831, 5.7560, 40.6053)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CAE #A0AE2C
analogous
#2C5FAE #3A2CAE #7B2CAE
triadic
#3A2CAE #AE3A2C #2CAE3A
tetradic
#3A2CAE #AE2C5F #A0AE2C #2CAE7B
square
#3A2CAE #AE2C5F #A0AE2C #2CAE7B
split-complementary
#3A2CAE #AE7B2C #5FAE2C
monochromatic
#19134C #2A207D #3A2CAE #5647D0 #8378DD

Accessibility & contrast

On white

9.76
#3A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CAE
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CAE#FFFFFF#000000##FFFFFF
##3A2CAE1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2cae;
/* rgb */ color: rgb(58, 44, 174);
/* oklch */ color: oklch(40.6% 0.195 278.1);
Tailwind
colors: {
  custom: {
    50: '#8068c7',
    500: '#3a2cae',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cae;
$custom-light: #8068c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cae",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 246.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.19467,
    "h": 278.1
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#3A2CAE
secondary
#BCC571
accent
#E345D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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