#3A2DB7#3A2DB7

#3A2DB7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.205 H 276.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB7
RGBrgb(58, 45, 183)
HSLhsl(246, 61%, 45%)
HSVhsv(246, 75%, 72%)
CMYKcmyk(68.3%, 75.4%, 0%, 28.2%)
CIE-LABlab(29.90, 47.50, -70.28)
CIE-LCHlch(29.90, 84.82, 304.05°)
OKLaboklab(41.63% 0.0247 -0.2031)
OKLCHoklch(41.63% 0.205 276.9)
XYZxyz(11.2278, 6.1942, 45.3945)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB7 #AAB72D
analogous
#2D65B7 #3A2DB7 #7F2DB7
triadic
#3A2DB7 #B73A2D #2DB73A
tetradic
#3A2DB7 #B72D65 #AAB72D #2DB77F
square
#3A2DB7 #B72D65 #AAB72D #2DB77F
split-complementary
#3A2DB7 #B77F2D #65B72D
monochromatic
#1B1555 #2A2186 #3A2DB7 #5A4ED3 #887FDF

Accessibility & contrast

On white

9.38
#3A2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3A2DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB7#FFFFFF#000000##FFFFFF
##3A2DB71.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2db7;
/* rgb */ color: rgb(58, 45, 183);
/* oklch */ color: oklch(41.6% 0.205 276.9);
Tailwind
colors: {
  custom: {
    50: '#8269ce',
    500: '#3a2db7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db7;
$custom-light: #8269ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db7",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 245.652,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.20457,
    "h": 276.9
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#3A2DB7
secondary
#C1C878
accent
#E444D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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