#3A2CBA#3A2CBA

#3A2CBA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.209 H 276.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3A2CBA
RGBrgb(58, 44, 186)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 76%, 73%)
CMYKcmyk(68.8%, 76.3%, 0%, 27.1%)
CIE-LABlab(30.02, 48.97, -71.85)
CIE-LCHlch(30.02, 86.95, 304.28°)
OKLaboklab(41.81% 0.0246 -0.2076)
OKLCHoklch(41.81% 0.209 276.7)
XYZxyz(11.5056, 6.2450, 47.0439)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CBA #ACBA2C
analogous
#2C65BA #3A2CBA #812CBA
triadic
#3A2CBA #BA3A2C #2CBA3A
tetradic
#3A2CBA #BA2C65 #ACBA2C #2CBA81
square
#3A2CBA #BA2C65 #ACBA2C #2CBA81
split-complementary
#3A2CBA #BA812C #65BA2C
monochromatic
#1B1557 #2B2089 #3A2CBA #5B4ED5 #8980E1

Accessibility & contrast

On white

9.34
#3A2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CBA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CBA#FFFFFF#000000##FFFFFF
##3A2CBA1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2cba;
/* rgb */ color: rgb(58, 44, 186);
/* oklch */ color: oklch(41.8% 0.209 276.7);
Tailwind
colors: {
  custom: {
    50: '#8368d0',
    500: '#3a2cba',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cba;
$custom-light: #8368d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cba",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 245.915,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.20909,
    "h": 276.7
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#3A2CBA
secondary
#C2CA78
accent
#E543D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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