#3A32AA#3A32AA

#3A32AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.183 H 277.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3A32AA
RGBrgb(58, 50, 170)
HSLhsl(244, 55%, 43%)
HSVhsv(244, 71%, 67%)
CMYKcmyk(65.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(29.62, 40.50, -62.97)
CIE-LCHlch(29.62, 74.87, 302.75°)
OKLaboklab(41.05% 0.0241 -0.1818)
OKLCHoklch(41.05% 0.183 277.6)
XYZxyz(10.1389, 6.0822, 38.6621)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32AA #A2AA32
analogous
#3266AA #3A32AA #7632AA
triadic
#3A32AA #AA3A32 #32AA3A
tetradic
#3A32AA #AA3266 #A2AA32 #32AA76
square
#3A32AA #AA3266 #A2AA32 #32AA76
split-complementary
#3A32AA #AA7632 #66AA32
monochromatic
#1A164B #2A247B #3A32AA #574ECB #847DD9

Accessibility & contrast

On white

9.47
#3A32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A32AA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32AA#FFFFFF#000000##FFFFFF
##3A32AA1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a32aa;
/* rgb */ color: rgb(58, 50, 170);
/* oklch */ color: oklch(41.0% 0.183 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f6bc4',
    500: '#3a32aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a32aa;
$custom-light: #7f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32aa",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 244,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.18337,
    "h": 277.6
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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