#3A2AA3#3A2AA3

#3A2AA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.183 H 279.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3A2AA3
RGBrgb(58, 42, 163)
HSLhsl(248, 59%, 40%)
HSVhsv(248, 74%, 64%)
CMYKcmyk(64.4%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.29, 42.80, -62.57)
CIE-LCHlch(27.29, 75.81, 304.38°)
OKLaboklab(39.19% 0.031 -0.1806)
OKLCHoklch(39.19% 0.183 279.7)
XYZxyz(9.1816, 5.1991, 35.1629)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AA3 #93A32A
analogous
#2A56A3 #3A2AA3 #762AA3
triadic
#3A2AA3 #A33A2A #2AA33A
tetradic
#3A2AA3 #A32A56 #93A32A #2AA376
square
#3A2AA3 #A32A56 #93A32A #2AA376
split-complementary
#3A2AA3 #A3762A #56A32A
monochromatic
#171142 #291D72 #3A2AA3 #503DCD #7C6EDA

Accessibility & contrast

On white

10.29
#3A2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3A2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AA3
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AA3#FFFFFF#000000##FFFFFF
##3A2AA31.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a2aa3;
/* rgb */ color: rgb(58, 42, 163);
/* oklch */ color: oklch(39.2% 0.183 279.7);
Tailwind
colors: {
  custom: {
    50: '#7e66bf',
    500: '#3a2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aa3;
$custom-light: #7e66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aa3",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 247.934,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.18321,
    "h": 279.7
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#3A2AA3
secondary
#B5C068
accent
#E246CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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