#3A2FAE#3A2FAE

#3A2FAE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.192 H 277.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3A2FAE
RGBrgb(58, 47, 174)
HSLhsl(245, 57%, 43%)
HSVhsv(245, 73%, 68%)
CMYKcmyk(66.7%, 73%, 0%, 31.8%)
CIE-LABlab(29.38, 43.53, -65.76)
CIE-LCHlch(29.38, 78.86, 303.50°)
OKLaboklab(41% 0.0254 -0.1899)
OKLCHoklch(41% 0.192 277.6)
XYZxyz(10.3989, 5.9877, 40.6439)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FAE #A3AE2F
analogous
#2F63AE #3A2FAE #792FAE
triadic
#3A2FAE #AE3A2F #2FAE3A
tetradic
#3A2FAE #AE2F63 #A3AE2F #2FAE79
square
#3A2FAE #AE2F63 #A3AE2F #2FAE79
split-complementary
#3A2FAE #AE792F #63AE2F
monochromatic
#1A154E #2A227E #3A2FAE #574CCF #847CDC

Accessibility & contrast

On white

9.56
#3A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FAE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FAE#FFFFFF#000000##FFFFFF
##3A2FAE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2fae;
/* rgb */ color: rgb(58, 47, 174);
/* oklch */ color: oklch(41.0% 0.192 277.6);
Tailwind
colors: {
  custom: {
    50: '#8069c7',
    500: '#3a2fae',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fae;
$custom-light: #8069c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fae",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 245.197,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.19161,
    "h": 277.6
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#3A2FAE
secondary
#BDC475
accent
#E147D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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