#3A2DC9#3A2DC9

#3A2DC9 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.226 H 275.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3A2DC9
RGBrgb(58, 45, 201)
HSLhsl(245, 63%, 48%)
HSVhsv(245, 78%, 79%)
CMYKcmyk(71.1%, 77.6%, 0%, 21.2%)
CIE-LABlab(31.79, 53.09, -77.75)
CIE-LCHlch(31.79, 94.15, 304.33°)
OKLaboklab(43.52% 0.0206 -0.2248)
OKLCHoklch(43.52% 0.226 275.2)
XYZxyz(13.2224, 6.9921, 55.8998)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DC9 #BCC92D
analogous
#2D6EC9 #3A2DC9 #882DC9
triadic
#3A2DC9 #C93A2D #2DC93A
tetradic
#3A2DC9 #C92D6E #BCC92D #2DC988
square
#3A2DC9 #C92D6E #BCC92D #2DC988
split-complementary
#3A2DC9 #C9882D #6EC92D
monochromatic
#1D1765 #2C2297 #3A2DC9 #6459DA #938BE5

Accessibility & contrast

On white

8.76
#3A2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A2DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DC9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DC9#FFFFFF#000000##FFFFFF
##3A2DC91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0044C6
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2dc9;
/* rgb */ color: rgb(58, 45, 201);
/* oklch */ color: oklch(43.5% 0.226 275.2);
Tailwind
colors: {
  custom: {
    50: '#866adb',
    500: '#3a2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dc9;
$custom-light: #866adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dc9",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 245,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.22576,
    "h": 275.2
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#3A2DC9
secondary
#C9CF83
accent
#E641D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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