#3A2ABF#3A2ABF

#3A2ABF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.217 H 276.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3A2ABF
RGBrgb(58, 42, 191)
HSLhsl(246, 64%, 46%)
HSVhsv(246, 78%, 75%)
CMYKcmyk(69.6%, 78%, 0%, 25.1%)
CIE-LABlab(30.20, 51.53, -74.52)
CIE-LCHlch(30.20, 90.60, 304.66°)
OKLaboklab(42.09% 0.0244 -0.2154)
OKLCHoklch(42.09% 0.217 276.5)
XYZxyz(11.9738, 6.3160, 49.8682)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ABF #AFBF2A
analogous
#2A64BF #3A2ABF #842ABF
triadic
#3A2ABF #BF3A2A #2ABF3A
tetradic
#3A2ABF #BF2A64 #AFBF2A #2ABF84
square
#3A2ABF #BF2A64 #AFBF2A #2ABF84
split-complementary
#3A2ABF #BF842A #64BF2A
monochromatic
#1C145B #2B1F8D #3A2ABF #5D4ED8 #8B80E3

Accessibility & contrast

On white

9.28
#3A2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3A2ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ABF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ABF#FFFFFF#000000##FFFFFF
##3A2ABF1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#0041BC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2abf;
/* rgb */ color: rgb(58, 42, 191);
/* oklch */ color: oklch(42.1% 0.217 276.5);
Tailwind
colors: {
  custom: {
    50: '#8467d4',
    500: '#3a2abf',
    950: '#000000',
  },
}
SCSS
$custom: #3a2abf;
$custom-light: #8467d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2abf",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 246.443,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.21675,
    "h": 276.5
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#3A2ABF
secondary
#C3CC79
accent
#E741D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A2ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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