#3A32AB#3A32AB

#3A32AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.185 H 277.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3A32AB
RGBrgb(58, 50, 171)
HSLhsl(244, 55%, 43%)
HSVhsv(244, 71%, 67%)
CMYKcmyk(66.1%, 70.8%, 0%, 32.9%)
CIE-LABlab(29.71, 40.83, -63.42)
CIE-LCHlch(29.71, 75.42, 302.77°)
OKLaboklab(41.15% 0.024 -0.1831)
OKLCHoklch(41.15% 0.185 277.5)
XYZxyz(10.2338, 6.1202, 39.1622)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32AB #A3AB32
analogous
#3266AB #3A32AB #7632AB
triadic
#3A32AB #AB3A32 #32AB3A
tetradic
#3A32AB #AB3266 #A3AB32 #32AB76
square
#3A32AB #AB3266 #A3AB32 #32AB76
split-complementary
#3A32AB #AB7632 #66AB32
monochromatic
#1A164C #2A247C #3A32AB #574FCB #847ED9

Accessibility & contrast

On white

9.44
#3A32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32AB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32AB#FFFFFF#000000##FFFFFF
##3A32AB1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a32ab;
/* rgb */ color: rgb(58, 50, 171);
/* oklch */ color: oklch(41.1% 0.185 277.5);
Tailwind
colors: {
  custom: {
    50: '#7f6bc5',
    500: '#3a32ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a32ab;
$custom-light: #7f6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32ab",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 243.967,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.18464,
    "h": 277.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#3A32AB
secondary
#BDC277
accent
#DE4AD4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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