#3A2AAE#3A2AAE

#3A2AAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.197 H 278.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAE
RGBrgb(58, 42, 174)
HSLhsl(247, 61%, 42%)
HSVhsv(247, 76%, 68%)
CMYKcmyk(66.7%, 75.9%, 0%, 31.8%)
CIE-LABlab(28.41, 46.27, -67.36)
CIE-LCHlch(28.41, 81.73, 304.49°)
OKLaboklab(40.31% 0.0285 -0.1946)
OKLCHoklch(40.31% 0.197 278.3)
XYZxyz(10.2104, 5.6106, 40.5811)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAE #9EAE2A
analogous
#2A5CAE #3A2AAE #7C2AAE
triadic
#3A2AAE #AE3A2A #2AAE3A
tetradic
#3A2AAE #AE2A5C #9EAE2A #2AAE7C
square
#3A2AAE #AE2A5C #9EAE2A #2AAE7C
split-complementary
#3A2AAE #AE7C2A #5CAE2A
monochromatic
#19124B #2A1E7D #3A2AAE #5543D2 #8175DE

Accessibility & contrast

On white

9.90
#3A2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAE#FFFFFF#000000##FFFFFF
##3A2AAE1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2aae;
/* rgb */ color: rgb(58, 42, 174);
/* oklch */ color: oklch(40.3% 0.197 278.3);
Tailwind
colors: {
  custom: {
    50: '#8066c7',
    500: '#3a2aae',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aae;
$custom-light: #8066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aae",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 247.273,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.19663,
    "h": 278.3
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#3A2AAE
secondary
#BBC56F
accent
#E444D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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