#3A2AAC#3A2AAC

#3A2AAC is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.194 H 278.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAC
RGBrgb(58, 42, 172)
HSLhsl(247, 61%, 42%)
HSVhsv(247, 76%, 67%)
CMYKcmyk(66.3%, 75.6%, 0%, 32.5%)
CIE-LABlab(28.20, 45.65, -66.50)
CIE-LCHlch(28.20, 80.66, 304.46°)
OKLaboklab(40.1% 0.029 -0.192)
OKLCHoklch(40.1% 0.194 278.6)
XYZxyz(10.0169, 5.5332, 39.5619)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAC #9CAC2A
analogous
#2A5BAC #3A2AAC #7B2AAC
triadic
#3A2AAC #AC3A2A #2AAC3A
tetradic
#3A2AAC #AC2A5B #9CAC2A #2AAC7B
square
#3A2AAC #AC2A5B #9CAC2A #2AAC7B
split-complementary
#3A2AAC #AC7B2A #5BAC2A
monochromatic
#19124A #291E7B #3A2AAC #5442D1 #8073DD

Accessibility & contrast

On white

9.97
#3A2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAC#FFFFFF#000000##FFFFFF
##3A2AAC1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2aac;
/* rgb */ color: rgb(58, 42, 172);
/* oklch */ color: oklch(40.1% 0.194 278.6);
Tailwind
colors: {
  custom: {
    50: '#8066c6',
    500: '#3a2aac',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aac;
$custom-light: #8066c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aac",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 247.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.19422,
    "h": 278.6
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#3A2AAC
secondary
#BAC46D
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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