#3A32B6#3A32B6

#3A32B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.198 H 276.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3A32B6
RGBrgb(58, 50, 182)
HSLhsl(244, 57%, 45%)
HSVhsv(244, 73%, 71%)
CMYKcmyk(68.1%, 72.5%, 0%, 28.6%)
CIE-LABlab(30.78, 44.42, -68.23)
CIE-LCHlch(30.78, 81.42, 303.07°)
OKLaboklab(42.23% 0.022 -0.1971)
OKLCHoklch(42.23% 0.198 276.4)
XYZxyz(11.3263, 6.5571, 44.9157)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32B6 #AEB632
analogous
#326CB6 #3A32B6 #7C32B6
triadic
#3A32B6 #B63A32 #32B63A
tetradic
#3A32B6 #B6326C #AEB632 #32B67C
square
#3A32B6 #B6326C #AEB632 #32B67C
split-complementary
#3A32B6 #B67C32 #6CB632
monochromatic
#1B1856 #2B2586 #3A32B6 #5C55D0 #8A85DD

Accessibility & contrast

On white

9.08
#3A32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32B6
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32B6#FFFFFF#000000##FFFFFF
##3A32B61.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a32b6;
/* rgb */ color: rgb(58, 50, 182);
/* oklch */ color: oklch(42.2% 0.198 276.4);
Tailwind
colors: {
  custom: {
    50: '#816ccd',
    500: '#3a32b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a32b6;
$custom-light: #816ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32b6",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 243.636,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.19838,
    "h": 276.4
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#3A32B6
secondary
#C2C77D
accent
#E048D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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