#3A2BB6#3A2BB6

#3A2BB6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.205 H 277.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB6
RGBrgb(58, 43, 182)
HSLhsl(246, 62%, 44%)
HSVhsv(246, 76%, 71%)
CMYKcmyk(68.1%, 76.4%, 0%, 28.6%)
CIE-LABlab(29.42, 48.24, -70.47)
CIE-LCHlch(29.42, 85.40, 304.40°)
OKLaboklab(41.27% 0.026 -0.2036)
OKLCHoklch(41.27% 0.205 277.3)
XYZxyz(11.0496, 6.0037, 44.8234)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB6 #A7B62B
analogous
#2B62B6 #3A2BB6 #802BB6
triadic
#3A2BB6 #B63A2B #2BB63A
tetradic
#3A2BB6 #B62B62 #A7B62B #2BB680
square
#3A2BB6 #B62B62 #A7B62B #2BB680
split-complementary
#3A2BB6 #B6802B #62B62B
monochromatic
#1A1453 #2A1F84 #3A2BB6 #594AD4 #867BE0

Accessibility & contrast

On white

9.54
#3A2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB6
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB6#FFFFFF#000000##FFFFFF
##3A2BB61.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2bb6;
/* rgb */ color: rgb(58, 43, 182);
/* oklch */ color: oklch(41.3% 0.205 277.3);
Tailwind
colors: {
  custom: {
    50: '#8267cd',
    500: '#3a2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb6;
$custom-light: #8267cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb6",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 246.475,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.20527,
    "h": 277.3
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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