#3A2BBA#3A2BBA

#3A2BBA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.210 H 276.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3A2BBA
RGBrgb(58, 43, 186)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 77%, 73%)
CMYKcmyk(68.8%, 76.9%, 0%, 27.1%)
CIE-LABlab(29.84, 49.49, -72.15)
CIE-LCHlch(29.84, 87.49, 304.45°)
OKLaboklab(41.69% 0.0251 -0.2085)
OKLCHoklch(41.69% 0.21 276.9)
XYZxyz(11.4688, 6.1714, 47.0317)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BBA #ABBA2B
analogous
#2B63BA #3A2BBA #822BBA
triadic
#3A2BBA #BA3A2B #2BBA3A
tetradic
#3A2BBA #BA2B63 #ABBA2B #2BBA82
square
#3A2BBA #BA2B63 #ABBA2B #2BBA82
split-complementary
#3A2BBA #BA822B #63BA2B
monochromatic
#1B1457 #2B2088 #3A2BBA #5B4CD6 #897EE1

Accessibility & contrast

On white

9.40
#3A2BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A2BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BBA
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BBA#FFFFFF#000000##FFFFFF
##3A2BBA1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2bba;
/* rgb */ color: rgb(58, 43, 186);
/* oklch */ color: oklch(41.7% 0.210 276.9);
Tailwind
colors: {
  custom: {
    50: '#8368d0',
    500: '#3a2bba',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bba;
$custom-light: #8368d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bba",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 246.294,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.21001,
    "h": 276.9
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#3A2BBA
secondary
#C1CA77
accent
#E642D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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