#3A2AB0#3A2AB0

#3A2AB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.199 H 278.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB0
RGBrgb(58, 42, 176)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(67%, 76.1%, 0%, 31%)
CIE-LABlab(28.61, 46.90, -68.22)
CIE-LCHlch(28.61, 82.79, 304.51°)
OKLaboklab(40.51% 0.028 -0.1971)
OKLCHoklch(40.51% 0.199 278.1)
XYZxyz(10.4068, 5.6892, 41.6156)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB0 #A0B02A
analogous
#2A5DB0 #3A2AB0 #7D2AB0
triadic
#3A2AB0 #B03A2A #2AB03A
tetradic
#3A2AB0 #B02A5D #A0B02A #2AB07D
square
#3A2AB0 #B02A5D #A0B02A #2AB07D
split-complementary
#3A2AB0 #B07D2A #5DB02A
monochromatic
#19124D #2A1E7F #3A2AB0 #5645D3 #8376DE

Accessibility & contrast

On white

9.82
#3A2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2AB0
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB0#FFFFFF#000000##FFFFFF
##3A2AB01.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2ab0;
/* rgb */ color: rgb(58, 42, 176);
/* oklch */ color: oklch(40.5% 0.199 278.1);
Tailwind
colors: {
  custom: {
    50: '#8166c9',
    500: '#3a2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab0;
$custom-light: #8166c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab0",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 247.164,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.19904,
    "h": 278.1
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#3A2AB0
secondary
#BCC670
accent
#E543D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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