#3A2CAB#3A2CAB

#3A2CAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.191 H 278.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3A2CAB
RGBrgb(58, 44, 171)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 74%, 67%)
CMYKcmyk(66.1%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.49, 44.24, -65.44)
CIE-LCHlch(28.49, 78.99, 304.06°)
OKLaboklab(40.27% 0.028 -0.1889)
OKLCHoklch(40.27% 0.191 278.4)
XYZxyz(9.9939, 5.6403, 39.0822)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CAB #9DAB2C
analogous
#2C5EAB #3A2CAB #7A2CAB
triadic
#3A2CAB #AB3A2C #2CAB3A
tetradic
#3A2CAB #AB2C5E #9DAB2C #2CAB7A
square
#3A2CAB #AB2C5E #9DAB2C #2CAB7A
split-complementary
#3A2CAB #AB7A2C #5EAB2C
monochromatic
#19134A #291F7A #3A2CAB #5445CF #8176DC

Accessibility & contrast

On white

9.87
#3A2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3A2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CAB
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CAB#FFFFFF#000000##FFFFFF
##3A2CAB1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2cab;
/* rgb */ color: rgb(58, 44, 171);
/* oklch */ color: oklch(40.3% 0.191 278.4);
Tailwind
colors: {
  custom: {
    50: '#7f67c5',
    500: '#3a2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cab;
$custom-light: #7f67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cab",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 246.614,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.19101,
    "h": 278.4
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#3A2CAB
secondary
#BAC36F
accent
#E246D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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