#3A2BAD#3A2BAD

#3A2BAD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.194 H 278.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3A2BAD
RGBrgb(58, 43, 173)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 68%)
CMYKcmyk(66.5%, 75.1%, 0%, 32.2%)
CIE-LABlab(28.49, 45.42, -66.62)
CIE-LCHlch(28.49, 80.63, 304.29°)
OKLaboklab(40.34% 0.0281 -0.1924)
OKLCHoklch(40.34% 0.194 278.3)
XYZxyz(10.1492, 5.6436, 40.0815)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BAD #9EAD2B
analogous
#2B5DAD #3A2BAD #7B2BAD
triadic
#3A2BAD #AD3A2B #2BAD3A
tetradic
#3A2BAD #AD2B5D #9EAD2B #2BAD7B
square
#3A2BAD #AD2B5D #9EAD2B #2BAD7B
split-complementary
#3A2BAD #AD7B2B #5DAD2B
monochromatic
#19134B #2A1F7C #3A2BAD #5545D1 #8176DD

Accessibility & contrast

On white

9.86
#3A2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3A2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BAD
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BAD#FFFFFF#000000##FFFFFF
##3A2BAD1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2bad;
/* rgb */ color: rgb(58, 43, 173);
/* oklch */ color: oklch(40.3% 0.194 278.3);
Tailwind
colors: {
  custom: {
    50: '#8067c7',
    500: '#3a2bad',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bad;
$custom-light: #8067c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bad",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 246.923,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.19444,
    "h": 278.3
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#3A2BAD
secondary
#BBC46F
accent
#E344D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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