#3A2BAE#3A2BAE

#3A2BAE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.196 H 278.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3A2BAE
RGBrgb(58, 43, 174)
HSLhsl(247, 60%, 43%)
HSVhsv(247, 75%, 68%)
CMYKcmyk(66.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(28.60, 45.74, -67.05)
CIE-LCHlch(28.60, 81.17, 304.30°)
OKLaboklab(40.44% 0.0279 -0.1937)
OKLCHoklch(40.44% 0.196 278.2)
XYZxyz(10.2463, 5.6824, 40.5930)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BAE #9FAE2B
analogous
#2B5EAE #3A2BAE #7B2BAE
triadic
#3A2BAE #AE3A2B #2BAE3A
tetradic
#3A2BAE #AE2B5E #9FAE2B #2BAE7B
square
#3A2BAE #AE2B5E #9FAE2B #2BAE7B
split-complementary
#3A2BAE #AE7B2B #5EAE2B
monochromatic
#19134C #2A1F7D #3A2BAE #5545D1 #8276DD

Accessibility & contrast

On white

9.83
#3A2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BAE
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BAE#FFFFFF#000000##FFFFFF
##3A2BAE1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2bae;
/* rgb */ color: rgb(58, 43, 174);
/* oklch */ color: oklch(40.4% 0.196 278.2);
Tailwind
colors: {
  custom: {
    50: '#8067c7',
    500: '#3a2bae',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bae;
$custom-light: #8067c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bae",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 246.87,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.19566,
    "h": 278.2
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#3A2BAE
secondary
#BBC570
accent
#E444D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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