#3A2AB9#3A2AB9

#3A2AB9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.210 H 277.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB9
RGBrgb(58, 42, 185)
HSLhsl(247, 63%, 45%)
HSVhsv(247, 77%, 73%)
CMYKcmyk(68.6%, 77.3%, 0%, 27.5%)
CIE-LABlab(29.56, 49.69, -72.03)
CIE-LCHlch(29.56, 87.50, 304.60°)
OKLaboklab(41.46% 0.0258 -0.2081)
OKLCHoklch(41.46% 0.21 277.1)
XYZxyz(11.3270, 6.0572, 46.4618)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB9 #A9B92A
analogous
#2A62B9 #3A2AB9 #812AB9
triadic
#3A2AB9 #B93A2A #2AB93A
tetradic
#3A2AB9 #B92A62 #A9B92A #2AB981
square
#3A2AB9 #B92A62 #A9B92A #2AB981
split-complementary
#3A2AB9 #B9812A #62B92A
monochromatic
#1B1355 #2A1F87 #3A2AB9 #5A4AD6 #877CE1

Accessibility & contrast

On white

9.50
#3A2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2AB9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB9#FFFFFF#000000##FFFFFF
##3A2AB91.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2ab9;
/* rgb */ color: rgb(58, 42, 185);
/* oklch */ color: oklch(41.5% 0.210 277.1);
Tailwind
colors: {
  custom: {
    50: '#8367cf',
    500: '#3a2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab9;
$custom-light: #8367cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab9",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 246.713,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.20974,
    "h": 277.1
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#3A2AB9
secondary
#C0CA75
accent
#E642D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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