#3A2AB7#3A2AB7

#3A2AB7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.207 H 277.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB7
RGBrgb(58, 42, 183)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 77%, 72%)
CMYKcmyk(68.3%, 77%, 0%, 28.2%)
CIE-LABlab(29.35, 49.07, -71.19)
CIE-LCHlch(29.35, 86.46, 304.58°)
OKLaboklab(41.25% 0.0263 -0.2057)
OKLCHoklch(41.25% 0.207 277.3)
XYZxyz(11.1174, 5.9734, 45.3577)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB7 #A7B72A
analogous
#2A60B7 #3A2AB7 #812AB7
triadic
#3A2AB7 #B73A2A #2AB73A
tetradic
#3A2AB7 #B72A60 #A7B72A #2AB781
square
#3A2AB7 #B72A60 #A7B72A #2AB781
split-complementary
#3A2AB7 #B7812A #60B72A
monochromatic
#1A1353 #2A1F85 #3A2AB7 #5949D5 #867BE1

Accessibility & contrast

On white

9.57
#3A2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AB7
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB7#FFFFFF#000000##FFFFFF
##3A2AB71.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2ab7;
/* rgb */ color: rgb(58, 42, 183);
/* oklch */ color: oklch(41.2% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#8267ce',
    500: '#3a2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab7;
$custom-light: #8267ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab7",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 246.809,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.20738,
    "h": 277.3
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#3A2AB7
secondary
#BFC974
accent
#E642D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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