#3A2CD1#3A2CD1

#3A2CD1 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.3% C 0.236 H 274.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3A2CD1
RGBrgb(58, 44, 209)
HSLhsl(245, 65%, 50%)
HSVhsv(245, 79%, 82%)
CMYKcmyk(72.2%, 78.9%, 0%, 18%)
CIE-LABlab(32.49, 56.01, -81.25)
CIE-LCHlch(32.49, 98.68, 304.58°)
OKLaboklab(44.26% 0.0191 -0.235)
OKLCHoklch(44.26% 0.236 274.6)
XYZxyz(14.1504, 7.3029, 60.9731)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CD1 #C3D12C
analogous
#2C71D1 #3A2CD1 #8D2CD1
triadic
#3A2CD1 #D13A2C #2CD13A
tetradic
#3A2CD1 #D12C71 #C3D12C #2CD18D
square
#3A2CD1 #D12C71 #C3D12C #2CD18D
split-complementary
#3A2CD1 #D18D2C #71D12C
monochromatic
#1E176C #2C219E #3A2CD1 #685DDD #9790E8

Accessibility & contrast

On white

8.53
#3A2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A2CD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CD1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CD1#FFFFFF#000000##FFFFFF
##3A2CD11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0045CE
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a2cd1;
/* rgb */ color: rgb(58, 44, 209);
/* oklch */ color: oklch(44.3% 0.236 274.6);
Tailwind
colors: {
  custom: {
    50: '#8869e1',
    500: '#3a2cd1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cd1;
$custom-light: #8869e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cd1",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 245.091,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.23575,
    "h": 274.6
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#3A2CD1
secondary
#CCD287
accent
#E840DA
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3A2CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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