#3A2CA7#3A2CA7

#3A2CA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.186 H 278.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA7
RGBrgb(58, 44, 167)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 74%, 65%)
CMYKcmyk(65.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.09, 42.97, -63.68)
CIE-LCHlch(28.09, 76.82, 304.01°)
OKLaboklab(39.87% 0.0288 -0.1838)
OKLCHoklch(39.87% 0.186 278.9)
XYZxyz(9.6184, 5.4901, 37.1046)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA7 #99A72C
analogous
#2C5CA7 #3A2CA7 #782CA7
triadic
#3A2CA7 #A73A2C #2CA73A
tetradic
#3A2CA7 #A72C5C #99A72C #2CA778
square
#3A2CA7 #A72C5C #99A72C #2CA778
split-complementary
#3A2CA7 #A7782C #5CA72C
monochromatic
#181246 #291F77 #3A2CA7 #5343CD #7F73DA

Accessibility & contrast

On white

10.01
#3A2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA7
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA7#FFFFFF#000000##FFFFFF
##3A2CA71.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ca7;
/* rgb */ color: rgb(58, 44, 167);
/* oklch */ color: oklch(39.9% 0.186 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f67c2',
    500: '#3a2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca7;
$custom-light: #7f67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca7",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 246.829,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.18607,
    "h": 278.9
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#3A2CA7
secondary
#B8C26D
accent
#E246D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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