#3A2CA9#3A2CA9

#3A2CA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.189 H 278.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA9
RGBrgb(58, 44, 169)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 74%, 66%)
CMYKcmyk(65.7%, 74%, 0%, 33.7%)
CIE-LABlab(28.29, 43.61, -64.56)
CIE-LCHlch(28.29, 77.91, 304.04°)
OKLaboklab(40.07% 0.0284 -0.1864)
OKLCHoklch(40.07% 0.189 278.7)
XYZxyz(9.8047, 5.5647, 38.0858)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA9 #9BA92C
analogous
#2C5DA9 #3A2CA9 #792CA9
triadic
#3A2CA9 #A93A2C #2CA93A
tetradic
#3A2CA9 #A92C5D #9BA92C #2CA979
square
#3A2CA9 #A92C5D #9BA92C #2CA979
split-complementary
#3A2CA9 #A9792C #5DA92C
monochromatic
#191348 #291F78 #3A2CA9 #5344CE #8074DB

Accessibility & contrast

On white

9.94
#3A2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA9
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA9#FFFFFF#000000##FFFFFF
##3A2CA91.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2ca9;
/* rgb */ color: rgb(58, 44, 169);
/* oklch */ color: oklch(40.1% 0.189 278.7);
Tailwind
colors: {
  custom: {
    50: '#7f67c4',
    500: '#3a2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca9;
$custom-light: #7f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca9",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 246.72,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.18855,
    "h": 278.7
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#3A2CA9
secondary
#B9C36E
accent
#E246D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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