#3A2CC5#3A2CC5

#3A2CC5 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.0% C 0.222 H 275.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3A2CC5
RGBrgb(58, 44, 197)
HSLhsl(245, 63%, 47%)
HSVhsv(245, 78%, 77%)
CMYKcmyk(70.6%, 77.7%, 0%, 22.7%)
CIE-LABlab(31.19, 52.37, -76.41)
CIE-LCHlch(31.19, 92.63, 304.42°)
OKLaboklab(42.97% 0.022 -0.2209)
OKLCHoklch(42.97% 0.222 275.7)
XYZxyz(12.7203, 6.7309, 53.4413)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CC5 #B7C52C
analogous
#2C6BC5 #3A2CC5 #862CC5
triadic
#3A2CC5 #C53A2C #2CC53A
tetradic
#3A2CC5 #C52C6B #B7C52C #2CC586
square
#3A2CC5 #C52C6B #B7C52C #2CC586
split-complementary
#3A2CC5 #C5862C #6BC52C
monochromatic
#1D1661 #2B2193 #3A2CC5 #6155D9 #9087E4

Accessibility & contrast

On white

8.95
#3A2CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A2CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CC5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CC5#FFFFFF#000000##FFFFFF
##3A2CC51.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C9
Deuteranopia (green-blind)
#0042C2
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2cc5;
/* rgb */ color: rgb(58, 44, 197);
/* oklch */ color: oklch(43.0% 0.222 275.7);
Tailwind
colors: {
  custom: {
    50: '#8569d8',
    500: '#3a2cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cc5;
$custom-light: #8569d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cc5",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 245.49,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.22199,
    "h": 275.7
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#3A2CC5
secondary
#C7CE7F
accent
#E741D7
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A2CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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