#3A2CB3#3A2CB3

#3A2CB3 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.201 H 277.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB3
RGBrgb(58, 44, 179)
HSLhsl(246, 61%, 44%)
HSVhsv(246, 75%, 70%)
CMYKcmyk(67.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(29.30, 46.78, -68.89)
CIE-LCHlch(29.30, 83.27, 304.18°)
OKLaboklab(41.09% 0.0262 -0.199)
OKLCHoklch(41.09% 0.201 277.5)
XYZxyz(10.7796, 5.9546, 43.2204)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB3 #A5B32C
analogous
#2C61B3 #3A2CB3 #7D2CB3
triadic
#3A2CB3 #B33A2C #2CB33A
tetradic
#3A2CB3 #B32C61 #A5B32C #2CB37D
square
#3A2CB3 #B32C61 #A5B32C #2CB37D
split-complementary
#3A2CB3 #B37D2C #61B32C
monochromatic
#1A1451 #2A2082 #3A2CB3 #584AD2 #857BDF

Accessibility & contrast

On white

9.58
#3A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB3#FFFFFF#000000##FFFFFF
##3A2CB31.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2cb3;
/* rgb */ color: rgb(58, 44, 179);
/* oklch */ color: oklch(41.1% 0.201 277.5);
Tailwind
colors: {
  custom: {
    50: '#8168cb',
    500: '#3a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb3;
$custom-light: #8168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb3",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 246.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.20072,
    "h": 277.5
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#3A2CB3
secondary
#BEC774
accent
#E444D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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