#3A2DB3#3A2DB3

#3A2DB3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.200 H 277.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB3
RGBrgb(58, 45, 179)
HSLhsl(246, 60%, 44%)
HSVhsv(246, 75%, 70%)
CMYKcmyk(67.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(29.49, 46.24, -68.57)
CIE-LCHlch(29.49, 82.70, 303.99°)
OKLaboklab(41.22% 0.0256 -0.1981)
OKLCHoklch(41.22% 0.2 277.4)
XYZxyz(10.8174, 6.0300, 43.2329)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB3 #A6B32D
analogous
#2D63B3 #3A2DB3 #7D2DB3
triadic
#3A2DB3 #B33A2D #2DB33A
tetradic
#3A2DB3 #B32D63 #A6B32D #2DB37D
square
#3A2DB3 #B32D63 #A6B32D #2DB37D
split-complementary
#3A2DB3 #B37D2D #63B32D
monochromatic
#1A1451 #2A2182 #3A2DB3 #584BD2 #867CDE

Accessibility & contrast

On white

9.52
#3A2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB3#FFFFFF#000000##FFFFFF
##3A2DB31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2db3;
/* rgb */ color: rgb(58, 45, 179);
/* oklch */ color: oklch(41.2% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#8168cb',
    500: '#3a2db3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db3;
$custom-light: #8168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db3",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 245.821,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.19975,
    "h": 277.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#3A2DB3
secondary
#BFC775
accent
#E345D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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