#3A2AB8#3A2AB8

#3A2AB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.209 H 277.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB8
RGBrgb(58, 42, 184)
HSLhsl(247, 63%, 44%)
HSVhsv(247, 77%, 72%)
CMYKcmyk(68.5%, 77.2%, 0%, 27.8%)
CIE-LABlab(29.45, 49.38, -71.61)
CIE-LCHlch(29.45, 86.98, 304.59°)
OKLaboklab(41.35% 0.0261 -0.2069)
OKLCHoklch(41.35% 0.209 277.2)
XYZxyz(11.2218, 6.0152, 45.9078)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB8 #A8B82A
analogous
#2A61B8 #3A2AB8 #812AB8
triadic
#3A2AB8 #B83A2A #2AB83A
tetradic
#3A2AB8 #B82A61 #A8B82A #2AB881
square
#3A2AB8 #B82A61 #A8B82A #2AB881
split-complementary
#3A2AB8 #B8812A #61B82A
monochromatic
#1B1354 #2A1F86 #3A2AB8 #594AD6 #877BE1

Accessibility & contrast

On white

9.53
#3A2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2AB8
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB8#FFFFFF#000000##FFFFFF
##3A2AB81.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2ab8;
/* rgb */ color: rgb(58, 42, 184);
/* oklch */ color: oklch(41.3% 0.209 277.2);
Tailwind
colors: {
  custom: {
    50: '#8267cf',
    500: '#3a2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab8;
$custom-light: #8267cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab8",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 246.761,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.20856,
    "h": 277.2
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#3A2AB8
secondary
#C0C975
accent
#E642D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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