#3A2DC3#3A2DC3

#3A2DC3 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.9% C 0.219 H 275.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3A2DC3
RGBrgb(58, 45, 195)
HSLhsl(245, 63%, 47%)
HSVhsv(245, 77%, 76%)
CMYKcmyk(70.3%, 76.9%, 0%, 23.5%)
CIE-LABlab(31.15, 51.24, -75.29)
CIE-LCHlch(31.15, 91.08, 304.24°)
OKLaboklab(42.89% 0.022 -0.2177)
OKLCHoklch(42.89% 0.219 275.8)
XYZxyz(12.5304, 6.7153, 52.2550)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DC3 #B6C32D
analogous
#2D6BC3 #3A2DC3 #852DC3
triadic
#3A2DC3 #C33A2D #2DC33A
tetradic
#3A2DC3 #C32D6B #B6C32D #2DC385
square
#3A2DC3 #C32D6B #B6C32D #2DC385
split-complementary
#3A2DC3 #C3852D #6BC32D
monochromatic
#1C1660 #2B2291 #3A2DC3 #6155D8 #8F87E3

Accessibility & contrast

On white

8.96
#3A2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DC3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DC3#FFFFFF#000000##FFFFFF
##3A2DC31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2dc3;
/* rgb */ color: rgb(58, 45, 195);
/* oklch */ color: oklch(42.9% 0.219 275.8);
Tailwind
colors: {
  custom: {
    50: '#8469d7',
    500: '#3a2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dc3;
$custom-light: #8469d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dc3",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 245.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.21879,
    "h": 275.8
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#3A2DC3
secondary
#C6CD7F
accent
#E642D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3A2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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