#3A2CB7#3A2CB7

#3A2CB7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.206 H 277.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB7
RGBrgb(58, 44, 183)
HSLhsl(246, 61%, 45%)
HSVhsv(246, 76%, 72%)
CMYKcmyk(68.3%, 76%, 0%, 28.2%)
CIE-LABlab(29.71, 48.03, -70.58)
CIE-LCHlch(29.71, 85.38, 304.23°)
OKLaboklab(41.5% 0.0253 -0.204)
OKLCHoklch(41.5% 0.206 277.1)
XYZxyz(11.1901, 6.1188, 45.3819)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB7 #A9B72C
analogous
#2C64B7 #3A2CB7 #802CB7
triadic
#3A2CB7 #B73A2C #2CB73A
tetradic
#3A2CB7 #B72C64 #A9B72C #2CB780
square
#3A2CB7 #B72C64 #A9B72C #2CB780
split-complementary
#3A2CB7 #B7802C #64B72C
monochromatic
#1B1454 #2A2086 #3A2CB7 #5A4CD4 #877EE0

Accessibility & contrast

On white

9.44
#3A2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB7#FFFFFF#000000##FFFFFF
##3A2CB71.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2cb7;
/* rgb */ color: rgb(58, 44, 183);
/* oklch */ color: oklch(41.5% 0.206 277.1);
Tailwind
colors: {
  custom: {
    50: '#8268ce',
    500: '#3a2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb7;
$custom-light: #8268ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb7",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 246.043,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.20552,
    "h": 277.1
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#3A2CB7
secondary
#C0C876
accent
#E443D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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