#3A2BA0#3A2BA0

#3A2BA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.178 H 280.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3A2BA0
RGBrgb(58, 43, 160)
HSLhsl(248, 58%, 40%)
HSVhsv(248, 73%, 63%)
CMYKcmyk(63.8%, 73.1%, 0%, 37.3%)
CIE-LABlab(27.20, 41.29, -60.91)
CIE-LCHlch(27.20, 73.58, 304.13°)
OKLaboklab(39.03% 0.0309 -0.1757)
OKLCHoklch(39.03% 0.178 280)
XYZxyz(8.9519, 5.1647, 33.7760)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BA0 #91A02B
analogous
#2B57A0 #3A2BA0 #742BA0
triadic
#3A2BA0 #A03A2B #2BA03A
tetradic
#3A2BA0 #A02B57 #91A02B #2BA074
square
#3A2BA0 #A02B57 #91A02B #2BA074
split-complementary
#3A2BA0 #A0742B #57A02B
monochromatic
#171140 #291E70 #3A2BA0 #4F3DCB #7B6ED8

Accessibility & contrast

On white

10.33
#3A2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BA0
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BA0#FFFFFF#000000##FFFFFF
##3A2BA01.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a2ba0;
/* rgb */ color: rgb(58, 43, 160);
/* oklch */ color: oklch(39.0% 0.178 280.0);
Tailwind
colors: {
  custom: {
    50: '#7d66bd',
    500: '#3a2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ba0;
$custom-light: #7d66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ba0",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 247.692,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.17842,
    "h": 280
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#3A2BA0
secondary
#B4BF68
accent
#E147CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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