#3A2DB6#3A2DB6

#3A2DB6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.203 H 277.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB6
RGBrgb(58, 45, 182)
HSLhsl(246, 60%, 45%)
HSVhsv(246, 75%, 71%)
CMYKcmyk(68.1%, 75.3%, 0%, 28.6%)
CIE-LABlab(29.79, 47.19, -69.85)
CIE-LCHlch(29.79, 84.30, 304.04°)
OKLaboklab(41.53% 0.025 -0.2018)
OKLCHoklch(41.53% 0.203 277)
XYZxyz(11.1241, 6.1527, 44.8483)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB6 #A9B62D
analogous
#2D65B6 #3A2DB6 #7E2DB6
triadic
#3A2DB6 #B63A2D #2DB63A
tetradic
#3A2DB6 #B62D65 #A9B62D #2DB67E
square
#3A2DB6 #B62D65 #A9B62D #2DB67E
split-complementary
#3A2DB6 #B67E2D #65B62D
monochromatic
#1B1554 #2A2185 #3A2DB6 #5A4DD3 #877EDF

Accessibility & contrast

On white

9.41
#3A2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB6
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB6#FFFFFF#000000##FFFFFF
##3A2DB61.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2db6;
/* rgb */ color: rgb(58, 45, 182);
/* oklch */ color: oklch(41.5% 0.203 277.0);
Tailwind
colors: {
  custom: {
    50: '#8269cd',
    500: '#3a2db6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db6;
$custom-light: #8269cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db6",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 245.693,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.20338,
    "h": 277
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#3A2DB6
secondary
#C0C877
accent
#E344D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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