#3A2EB6#3A2EB6

#3A2EB6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.202 H 276.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3A2EB6
RGBrgb(58, 46, 182)
HSLhsl(245, 60%, 45%)
HSVhsv(245, 75%, 71%)
CMYKcmyk(68.1%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.99, 46.65, -69.54)
CIE-LCHlch(29.99, 83.73, 303.85°)
OKLaboklab(41.67% 0.0244 -0.2009)
OKLCHoklch(41.67% 0.202 276.9)
XYZxyz(11.1627, 6.2299, 44.8611)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EB6 #AAB62E
analogous
#2E66B6 #3A2EB6 #7E2EB6
triadic
#3A2EB6 #B63A2E #2EB63A
tetradic
#3A2EB6 #B62E66 #AAB62E #2EB67E
square
#3A2EB6 #B62E66 #AAB62E #2EB67E
split-complementary
#3A2EB6 #B67E2E #66B62E
monochromatic
#1B1554 #2A2285 #3A2EB6 #5A4FD2 #8880DF

Accessibility & contrast

On white

9.35
#3A2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EB6
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EB6#FFFFFF#000000##FFFFFF
##3A2EB61.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2eb6;
/* rgb */ color: rgb(58, 46, 182);
/* oklch */ color: oklch(41.7% 0.202 276.9);
Tailwind
colors: {
  custom: {
    50: '#8269cd',
    500: '#3a2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eb6;
$custom-light: #8269cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eb6",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 245.294,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.2024,
    "h": 276.9
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#3A2EB6
secondary
#C1C878
accent
#E345D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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