#3A2C8D#3A2C8D

#3A2C8D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.153 H 282.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3A2C8D
RGBrgb(58, 44, 141)
HSLhsl(249, 52%, 36%)
HSVhsv(249, 69%, 55%)
CMYKcmyk(58.9%, 68.8%, 0%, 44.7%)
CIE-LABlab(25.63, 34.54, -51.81)
CIE-LCHlch(25.63, 62.27, 303.69°)
OKLaboklab(37.37% 0.0335 -0.1491)
OKLCHoklch(37.37% 0.153 282.7)
XYZxyz(7.4518, 4.6235, 25.6939)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C8D #7F8D2C
analogous
#2C4F8D #3A2C8D #6B2C8D
triadic
#3A2C8D #8D3A2C #2C8D3A
tetradic
#3A2C8D #8D2C4F #7F8D2C #2C8D6B
square
#3A2C8D #8D2C4F #7F8D2C #2C8D6B
split-complementary
#3A2C8D #8D6B2C #4F8D2C
monochromatic
#140F30 #271D5E #3A2C8D #4D3BBC #7465CF

Accessibility & contrast

On white

10.91
#3A2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C8D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C8D#FFFFFF#000000##FFFFFF
##3A2C8D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#0C4558
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2c8d;
/* rgb */ color: rgb(58, 44, 141);
/* oklch */ color: oklch(37.4% 0.153 282.7);
Tailwind
colors: {
  custom: {
    50: '#7a66af',
    500: '#3a2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c8d;
$custom-light: #7a66af;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c8d",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 248.66,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37366,
    "c": 0.15279,
    "h": 282.7
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#3A2C8D
secondary
#A9B560
accent
#DC4CC7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3A2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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