#3A2AAF#3A2AAF

#3A2AAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.198 H 278.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3A2AAF
RGBrgb(58, 42, 175)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(66.9%, 76%, 0%, 31.4%)
CIE-LABlab(28.51, 46.59, -67.79)
CIE-LCHlch(28.51, 82.26, 304.50°)
OKLaboklab(40.41% 0.0283 -0.1958)
OKLCHoklch(40.41% 0.198 278.2)
XYZxyz(10.3083, 5.6497, 41.0964)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AAF #9FAF2A
analogous
#2A5DAF #3A2AAF #7C2AAF
triadic
#3A2AAF #AF3A2A #2AAF3A
tetradic
#3A2AAF #AF2A5D #9FAF2A #2AAF7C
square
#3A2AAF #AF2A5D #9FAF2A #2AAF7C
split-complementary
#3A2AAF #AF7C2A #5DAF2A
monochromatic
#19124C #2A1E7E #3A2AAF #5544D2 #8275DE

Accessibility & contrast

On white

9.86
#3A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3A2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AAF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AAF#FFFFFF#000000##FFFFFF
##3A2AAF1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2aaf;
/* rgb */ color: rgb(58, 42, 175);
/* oklch */ color: oklch(40.4% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#8066c8',
    500: '#3a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aaf;
$custom-light: #8066c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aaf",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 247.218,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.19784,
    "h": 278.2
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#3A2AAF
secondary
#BBC66F
accent
#E443D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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