#3A2BB9#3A2BB9

#3A2BB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.209 H 277.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB9
RGBrgb(58, 43, 185)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 77%, 73%)
CMYKcmyk(68.6%, 76.8%, 0%, 27.5%)
CIE-LABlab(29.74, 49.18, -71.73)
CIE-LCHlch(29.74, 86.97, 304.43°)
OKLaboklab(41.58% 0.0253 -0.2073)
OKLCHoklch(41.58% 0.209 277)
XYZxyz(11.3629, 6.1291, 46.4737)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB9 #AAB92B
analogous
#2B63B9 #3A2BB9 #812BB9
triadic
#3A2BB9 #B93A2B #2BB93A
tetradic
#3A2BB9 #B92B63 #AAB92B #2BB981
square
#3A2BB9 #B92B63 #AAB92B #2BB981
split-complementary
#3A2BB9 #B9812B #63B92B
monochromatic
#1B1456 #2A1F87 #3A2BB9 #5A4CD5 #887EE1

Accessibility & contrast

On white

9.43
#3A2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2BB9
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB9#FFFFFF#000000##FFFFFF
##3A2BB91.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2bb9;
/* rgb */ color: rgb(58, 43, 185);
/* oklch */ color: oklch(41.6% 0.209 277.0);
Tailwind
colors: {
  custom: {
    50: '#8268cf',
    500: '#3a2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb9;
$custom-light: #8268cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb9",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 246.338,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41581,
    "c": 0.20883,
    "h": 277
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#3A2BB9
secondary
#C1C976
accent
#E542D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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