#3A32A6#3A32A6

#3A32A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.178 H 278.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3A32A6
RGBrgb(58, 50, 166)
HSLhsl(244, 54%, 42%)
HSVhsv(244, 70%, 65%)
CMYKcmyk(65.1%, 69.9%, 0%, 34.9%)
CIE-LABlab(29.24, 39.18, -61.18)
CIE-LCHlch(29.24, 72.65, 302.63°)
OKLaboklab(40.67% 0.0248 -0.1765)
OKLCHoklch(40.67% 0.178 278)
XYZxyz(9.7662, 5.9331, 36.6995)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32A6 #9EA632
analogous
#3264A6 #3A32A6 #7432A6
triadic
#3A32A6 #A63A32 #32A63A
tetradic
#3A32A6 #A63264 #9EA632 #32A674
square
#3A32A6 #A63264 #9EA632 #32A674
split-complementary
#3A32A6 #A67432 #64A632
monochromatic
#191648 #2A2477 #3A32A6 #554CC9 #817BD7

Accessibility & contrast

On white

9.60
#3A32A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A32A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32A6
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32A6#FFFFFF#000000##FFFFFF
##3A32A61.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a32a6;
/* rgb */ color: rgb(58, 50, 166);
/* oklch */ color: oklch(40.7% 0.178 278.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bc1',
    500: '#3a32a6',
    950: '#000000',
  },
}
SCSS
$custom: #3a32a6;
$custom-light: #7e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32a6",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 244.138,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40665,
    "c": 0.17827,
    "h": 278
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#3A32A6
secondary
#BBC074
accent
#DD4BD3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A32A6

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

Preview Lab → · Contrast checker → · Palette generator →

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