#3A2EB5#3A2EB5

#3A2EB5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.201 H 277.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3A2EB5
RGBrgb(58, 46, 181)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 75%, 71%)
CMYKcmyk(68%, 74.6%, 0%, 29%)
CIE-LABlab(29.88, 46.33, -69.11)
CIE-LCHlch(29.88, 83.20, 303.84°)
OKLaboklab(41.56% 0.0246 -0.1997)
OKLCHoklch(41.56% 0.201 277)
XYZxyz(11.0597, 6.1887, 44.3188)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EB5 #A9B52E
analogous
#2E66B5 #3A2EB5 #7D2EB5
triadic
#3A2EB5 #B53A2E #2EB53A
tetradic
#3A2EB5 #B52E66 #A9B52E #2EB57D
square
#3A2EB5 #B52E66 #A9B52E #2EB57D
split-complementary
#3A2EB5 #B57D2E #66B52E
monochromatic
#1B1553 #2A2284 #3A2EB5 #5A4ED2 #877FDE

Accessibility & contrast

On white

9.38
#3A2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3A2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EB5
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EB5#FFFFFF#000000##FFFFFF
##3A2EB51.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2eb5;
/* rgb */ color: rgb(58, 46, 181);
/* oklch */ color: oklch(41.6% 0.201 277.0);
Tailwind
colors: {
  custom: {
    50: '#8169cc',
    500: '#3a2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eb5;
$custom-light: #8169cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eb5",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 245.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.20119,
    "h": 277
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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