#3A2BB1#3A2BB1

#3A2BB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.199 H 277.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB1
RGBrgb(58, 43, 177)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(67.2%, 75.7%, 0%, 30.6%)
CIE-LABlab(28.90, 46.68, -68.34)
CIE-LCHlch(28.90, 82.76, 304.34°)
OKLaboklab(40.75% 0.0272 -0.1974)
OKLCHoklch(40.75% 0.199 277.8)
XYZxyz(10.5420, 5.8007, 42.1505)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB1 #A2B12B
analogous
#2B5FB1 #3A2BB1 #7D2BB1
triadic
#3A2BB1 #B13A2B #2BB13A
tetradic
#3A2BB1 #B12B5F #A2B12B #2BB17D
square
#3A2BB1 #B12B5F #A2B12B #2BB17D
split-complementary
#3A2BB1 #B17D2B #5FB12B
monochromatic
#1A134F #2A1F80 #3A2BB1 #5747D2 #8478DE

Accessibility & contrast

On white

9.72
#3A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB1
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB1#FFFFFF#000000##FFFFFF
##3A2BB11.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2bb1;
/* rgb */ color: rgb(58, 43, 177);
/* oklch */ color: oklch(40.7% 0.199 277.8);
Tailwind
colors: {
  custom: {
    50: '#8167ca',
    500: '#3a2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb1;
$custom-light: #8167ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb1",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 246.716,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.19929,
    "h": 277.8
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#3A2BB1
secondary
#BDC672
accent
#E444D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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