#3A2C8F#3A2C8F

#3A2C8F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.155 H 282.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3A2C8F
RGBrgb(58, 44, 143)
HSLhsl(248, 53%, 37%)
HSVhsv(248, 69%, 56%)
CMYKcmyk(59.4%, 69.2%, 0%, 43.9%)
CIE-LABlab(25.81, 35.20, -52.75)
CIE-LCHlch(25.81, 63.42, 303.71°)
OKLaboklab(37.55% 0.0332 -0.1519)
OKLCHoklch(37.55% 0.155 282.3)
XYZxyz(7.6020, 4.6836, 26.4847)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C8F #818F2C
analogous
#2C508F #3A2C8F #6C2C8F
triadic
#3A2C8F #8F3A2C #2C8F3A
tetradic
#3A2C8F #8F2C50 #818F2C #2C8F6C
square
#3A2C8F #8F2C50 #818F2C #2C8F6C
split-complementary
#3A2C8F #8F6C2C #508F2C
monochromatic
#140F31 #271E60 #3A2C8F #4D3ABE #7566D0

Accessibility & contrast

On white

10.84
#3A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C8F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C8F#FFFFFF#000000##FFFFFF
##3A2C8F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#07465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2c8f;
/* rgb */ color: rgb(58, 44, 143);
/* oklch */ color: oklch(37.6% 0.155 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a66b1',
    500: '#3a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c8f;
$custom-light: #7a66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c8f",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 248.485,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37551,
    "c": 0.15544,
    "h": 282.3
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#3A2C8F
secondary
#AAB661
accent
#DC4BC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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