#3A2FBD#3A2FBD

#3A2FBD is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.210 H 276.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3A2FBD
RGBrgb(58, 47, 189)
HSLhsl(245, 60%, 46%)
HSVhsv(245, 75%, 74%)
CMYKcmyk(69.3%, 75.1%, 0%, 25.9%)
CIE-LABlab(30.89, 48.32, -72.19)
CIE-LCHlch(30.89, 86.87, 303.80°)
OKLaboklab(42.52% 0.0223 -0.2087)
OKLCHoklch(42.52% 0.21 276.1)
XYZxyz(11.9437, 6.6056, 48.7798)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FBD #B2BD2F
analogous
#2F6BBD #3A2FBD #812FBD
triadic
#3A2FBD #BD3A2F #2FBD3A
tetradic
#3A2FBD #BD2F6B #B2BD2F #2FBD81
square
#3A2FBD #BD2F6B #B2BD2F #2FBD81
split-complementary
#3A2FBD #BD812F #6BBD2F
monochromatic
#1C175B #2B238C #3A2FBD #5F55D5 #8D86E1

Accessibility & contrast

On white

9.05
#3A2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FBD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FBD#FFFFFF#000000##FFFFFF
##3A2FBD1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2fbd;
/* rgb */ color: rgb(58, 47, 189);
/* oklch */ color: oklch(42.5% 0.210 276.1);
Tailwind
colors: {
  custom: {
    50: '#836ad2',
    500: '#3a2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fbd;
$custom-light: #836ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fbd",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 244.648,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.20985,
    "h": 276.1
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#3A2FBD
secondary
#C4CA7E
accent
#E344D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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