#3A2C94#3A2C94

#3A2C94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.162 H 281.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3A2C94
RGBrgb(58, 44, 148)
HSLhsl(248, 54%, 38%)
HSVhsv(248, 70%, 58%)
CMYKcmyk(60.8%, 70.3%, 0%, 42%)
CIE-LABlab(26.27, 36.83, -55.09)
CIE-LCHlch(26.27, 66.27, 303.76°)
OKLaboklab(38.02% 0.0324 -0.1587)
OKLCHoklch(38.02% 0.162 281.5)
XYZxyz(7.9892, 4.8385, 28.5242)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C94 #86942C
analogous
#2C5294 #3A2C94 #6E2C94
triadic
#3A2C94 #943A2C #2C943A
tetradic
#3A2C94 #942C52 #86942C #2C946E
square
#3A2C94 #942C52 #86942C #2C946E
split-complementary
#3A2C94 #946E2C #52942C
monochromatic
#151036 #281E65 #3A2C94 #4C3AC3 #7668D2

Accessibility & contrast

On white

10.67
#3A2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C94
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C94#FFFFFF#000000##FFFFFF
##3A2C941.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2c94;
/* rgb */ color: rgb(58, 44, 148);
/* oklch */ color: oklch(38.0% 0.162 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b66b4',
    500: '#3a2c94',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c94;
$custom-light: #7b66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c94",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 248.077,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38019,
    "c": 0.16199,
    "h": 281.5
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#3A2C94
secondary
#ADB963
accent
#DE4ACA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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