#3A2CBD#3A2CBD

#3A2CBD is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.213 H 276.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3A2CBD
RGBrgb(58, 44, 189)
HSLhsl(246, 62%, 46%)
HSVhsv(246, 77%, 74%)
CMYKcmyk(69.3%, 76.7%, 0%, 25.9%)
CIE-LABlab(30.34, 49.90, -73.10)
CIE-LCHlch(30.34, 88.51, 304.32°)
OKLaboklab(42.13% 0.0239 -0.2113)
OKLCHoklch(42.13% 0.213 276.4)
XYZxyz(11.8279, 6.3739, 48.7412)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CBD #AFBD2C
analogous
#2C66BD #3A2CBD #822CBD
triadic
#3A2CBD #BD3A2C #2CBD3A
tetradic
#3A2CBD #BD2C66 #AFBD2C #2CBD82
square
#3A2CBD #BD2C66 #AFBD2C #2CBD82
split-complementary
#3A2CBD #BD822C #66BD2C
monochromatic
#1C155A #2B208B #3A2CBD #5D50D6 #8B82E2

Accessibility & contrast

On white

9.23
#3A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A2CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CBD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CBD#FFFFFF#000000##FFFFFF
##3A2CBD1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2cbd;
/* rgb */ color: rgb(58, 44, 189);
/* oklch */ color: oklch(42.1% 0.213 276.4);
Tailwind
colors: {
  custom: {
    50: '#8368d2',
    500: '#3a2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cbd;
$custom-light: #8368d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cbd",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 245.793,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.21264,
    "h": 276.4
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#3A2CBD
secondary
#C3CB7A
accent
#E542D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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