#3A2CB9#3A2CB9

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

Color values

HEX#3A2CB9
RGBrgb(58, 44, 185)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 76%, 73%)
CMYKcmyk(68.6%, 76.2%, 0%, 27.5%)
CIE-LABlab(29.92, 48.66, -71.43)
CIE-LCHlch(29.92, 86.42, 304.26°)
OKLaboklab(41.71% 0.0248 -0.2064)
OKLCHoklch(41.71% 0.208 276.9)
XYZxyz(11.3997, 6.2027, 46.4860)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB9 #ABB92C
analogous
#2C65B9 #3A2CB9 #802CB9
triadic
#3A2CB9 #B93A2C #2CB93A
tetradic
#3A2CB9 #B92C65 #ABB92C #2CB980
square
#3A2CB9 #B92C65 #ABB92C #2CB980
split-complementary
#3A2CB9 #B9802C #65B92C
monochromatic
#1B1456 #2A2088 #3A2CB9 #5B4DD5 #897FE1

Accessibility & contrast

On white

9.37
#3A2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2CB9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB9#FFFFFF#000000##FFFFFF
##3A2CB91.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2cb9;
/* rgb */ color: rgb(58, 44, 185);
/* oklch */ color: oklch(41.7% 0.208 276.9);
Tailwind
colors: {
  custom: {
    50: '#8268cf',
    500: '#3a2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb9;
$custom-light: #8268cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb9",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 245.957,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.20791,
    "h": 276.9
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#3A2CB9
secondary
#C1C978
accent
#E543D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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