#3A2BB7#3A2BB7

#3A2BB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.206 H 277.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB7
RGBrgb(58, 43, 183)
HSLhsl(246, 62%, 44%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(68.3%, 76.5%, 0%, 28.2%)
CIE-LABlab(29.53, 48.56, -70.89)
CIE-LCHlch(29.53, 85.92, 304.41°)
OKLaboklab(41.37% 0.0258 -0.2048)
OKLCHoklch(41.37% 0.206 277.2)
XYZxyz(11.1533, 6.0452, 45.3696)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB7 #A8B72B
analogous
#2B62B7 #3A2BB7 #802BB7
triadic
#3A2BB7 #B73A2B #2BB73A
tetradic
#3A2BB7 #B72B62 #A8B72B #2BB780
square
#3A2BB7 #B72B62 #A8B72B #2BB780
split-complementary
#3A2BB7 #B7802B #62B72B
monochromatic
#1B1454 #2A1F85 #3A2BB7 #594BD5 #877CE0

Accessibility & contrast

On white

9.51
#3A2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A2BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB7#FFFFFF#000000##FFFFFF
##3A2BB71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2bb7;
/* rgb */ color: rgb(58, 43, 183);
/* oklch */ color: oklch(41.4% 0.206 277.2);
Tailwind
colors: {
  custom: {
    50: '#8267ce',
    500: '#3a2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb7;
$custom-light: #8267ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb7",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 246.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.20646,
    "h": 277.2
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#3A2BB7
secondary
#C0C975
accent
#E543D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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