#3A2BB4#3A2BB4

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

Color values

HEX#3A2BB4
RGBrgb(58, 43, 180)
HSLhsl(247, 61%, 44%)
HSVhsv(247, 76%, 71%)
CMYKcmyk(67.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(29.21, 47.62, -69.62)
CIE-LCHlch(29.21, 84.35, 304.37°)
OKLaboklab(41.06% 0.0265 -0.2011)
OKLCHoklch(41.06% 0.203 277.5)
XYZxyz(10.8443, 5.9216, 43.7427)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB4 #A5B42B
analogous
#2B60B4 #3A2BB4 #7E2BB4
triadic
#3A2BB4 #B43A2B #2BB43A
tetradic
#3A2BB4 #B42B60 #A5B42B #2BB47E
square
#3A2BB4 #B42B60 #A5B42B #2BB47E
split-complementary
#3A2BB4 #B47E2B #60B42B
monochromatic
#1A1351 #2A1F83 #3A2BB4 #5849D3 #857ADF

Accessibility & contrast

On white

9.61
#3A2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB4
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB4#FFFFFF#000000##FFFFFF
##3A2BB41.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2bb4;
/* rgb */ color: rgb(58, 43, 180);
/* oklch */ color: oklch(41.1% 0.203 277.5);
Tailwind
colors: {
  custom: {
    50: '#8167cc',
    500: '#3a2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb4;
$custom-light: #8167cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb4",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 246.569,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.20288,
    "h": 277.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#3A2BB4
secondary
#BEC773
accent
#E543D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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