#3A2AA9#3A2AA9

#3A2AA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.191 H 279.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3A2AA9
RGBrgb(58, 42, 169)
HSLhsl(248, 60%, 41%)
HSVhsv(248, 75%, 66%)
CMYKcmyk(65.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(27.90, 44.70, -65.20)
CIE-LCHlch(27.90, 79.06, 304.43°)
OKLaboklab(39.79% 0.0297 -0.1883)
OKLCHoklch(39.79% 0.191 279)
XYZxyz(9.7320, 5.4192, 38.0616)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AA9 #99A92A
analogous
#2A5AA9 #3A2AA9 #7A2AA9
triadic
#3A2AA9 #A93A2A #2AA93A
tetradic
#3A2AA9 #A92A5A #99A92A #2AA97A
square
#3A2AA9 #A92A5A #99A92A #2AA97A
split-complementary
#3A2AA9 #A97A2A #5AA92A
monochromatic
#181247 #291E78 #3A2AA9 #5341D0 #7F72DC

Accessibility & contrast

On white

10.08
#3A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AA9
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AA9#FFFFFF#000000##FFFFFF
##3A2AA91.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2aa9;
/* rgb */ color: rgb(58, 42, 169);
/* oklch */ color: oklch(39.8% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f66c4',
    500: '#3a2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aa9;
$custom-light: #7f66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aa9",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 247.559,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.19058,
    "h": 279
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#3A2AA9
secondary
#B8C36C
accent
#E344CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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