#3A32B1#3A32B1

#3A32B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.192 H 276.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3A32B1
RGBrgb(58, 50, 177)
HSLhsl(244, 56%, 45%)
HSVhsv(244, 72%, 69%)
CMYKcmyk(67.2%, 71.8%, 0%, 30.6%)
CIE-LABlab(30.29, 42.80, -66.06)
CIE-LCHlch(30.29, 78.71, 302.94°)
OKLaboklab(41.73% 0.0229 -0.1908)
OKLCHoklch(41.73% 0.192 276.9)
XYZxyz(10.8188, 6.3541, 42.2428)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32B1 #A9B132
analogous
#3269B1 #3A32B1 #7A32B1
triadic
#3A32B1 #B13A32 #32B13A
tetradic
#3A32B1 #B13269 #A9B132 #32B17A
square
#3A32B1 #B13269 #A9B132 #32B17A
split-complementary
#3A32B1 #B17A32 #69B132
monochromatic
#1B1752 #2A2581 #3A32B1 #5A52CE #8782DC

Accessibility & contrast

On white

9.25
#3A32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32B1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32B1#FFFFFF#000000##FFFFFF
##3A32B11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a32b1;
/* rgb */ color: rgb(58, 50, 177);
/* oklch */ color: oklch(41.7% 0.192 276.9);
Tailwind
colors: {
  custom: {
    50: '#806bc9',
    500: '#3a32b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a32b1;
$custom-light: #806bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32b1",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 243.78,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.19217,
    "h": 276.9
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#3A32B1
secondary
#C0C57A
accent
#DF49D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3A32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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