#3A2BAC#3A2BAC

#3A2BAC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.193 H 278.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2BAC
RGBrgb(58, 43, 172)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(66.3%, 75%, 0%, 32.5%)
CIE-LABlab(28.39, 45.11, -66.19)
CIE-LCHlch(28.39, 80.10, 304.27°)
OKLaboklab(40.24% 0.0284 -0.1911)
OKLCHoklch(40.24% 0.193 278.4)
XYZxyz(10.0528, 5.6050, 39.5738)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BAC #9DAC2B
analogous
#2B5CAC #3A2BAC #7B2BAC
triadic
#3A2BAC #AC3A2B #2BAC3A
tetradic
#3A2BAC #AC2B5C #9DAC2B #2BAC7B
square
#3A2BAC #AC2B5C #9DAC2B #2BAC7B
split-complementary
#3A2BAC #AC7B2B #5CAC2B
monochromatic
#19134A #291F7B #3A2BAC #5444D0 #8175DC

Accessibility & contrast

On white

9.90
#3A2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BAC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BAC#FFFFFF#000000##FFFFFF
##3A2BAC1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2bac;
/* rgb */ color: rgb(58, 43, 172);
/* oklch */ color: oklch(40.2% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#8067c6',
    500: '#3a2bac',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bac;
$custom-light: #8067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bac",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 246.977,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.19323,
    "h": 278.4
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#3A2BAC
secondary
#BAC46F
accent
#E345D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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