#3A2DA9#3A2DA9

#3A2DA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.188 H 278.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3A2DA9
RGBrgb(58, 45, 169)
HSLhsl(246, 58%, 42%)
HSVhsv(246, 73%, 66%)
CMYKcmyk(65.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(28.49, 43.05, -64.23)
CIE-LCHlch(28.49, 77.32, 303.83°)
OKLaboklab(40.21% 0.0277 -0.1854)
OKLCHoklch(40.21% 0.188 278.5)
XYZxyz(9.8424, 5.6401, 38.0984)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DA9 #9CA92D
analogous
#2D5EA9 #3A2DA9 #782DA9
triadic
#3A2DA9 #A93A2D #2DA93A
tetradic
#3A2DA9 #A92D5E #9CA92D #2DA978
square
#3A2DA9 #A92D5E #9CA92D #2DA978
split-complementary
#3A2DA9 #A9782D #5EA92D
monochromatic
#191348 #292079 #3A2DA9 #5446CE #8076DA

Accessibility & contrast

On white

9.87
#3A2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3A2DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DA9
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DA9#FFFFFF#000000##FFFFFF
##3A2DA91.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2da9;
/* rgb */ color: rgb(58, 45, 169);
/* oklch */ color: oklch(40.2% 0.188 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f68c4',
    500: '#3a2da9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2da9;
$custom-light: #7f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2da9",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 246.29,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.18751,
    "h": 278.5
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#3A2DA9
secondary
#BAC26F
accent
#E147D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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