#3A2EBA#3A2EBA

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

Color values

HEX#3A2EBA
RGBrgb(58, 46, 186)
HSLhsl(245, 60%, 45%)
HSVhsv(245, 75%, 73%)
CMYKcmyk(68.8%, 75.3%, 0%, 27.1%)
CIE-LABlab(30.39, 47.91, -71.23)
CIE-LCHlch(30.39, 85.85, 303.92°)
OKLaboklab(42.08% 0.0235 -0.2059)
OKLCHoklch(42.08% 0.207 276.5)
XYZxyz(11.5819, 6.3977, 47.0694)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EBA #AEBA2E
analogous
#2E68BA #3A2EBA #802EBA
triadic
#3A2EBA #BA3A2E #2EBA3A
tetradic
#3A2EBA #BA2E68 #AEBA2E #2EBA80
square
#3A2EBA #BA2E68 #AEBA2E #2EBA80
split-complementary
#3A2EBA #BA802E #68BA2E
monochromatic
#1B1658 #2B2289 #3A2EBA #5C51D4 #8A82E0

Accessibility & contrast

On white

9.21
#3A2EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A2EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EBA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EBA#FFFFFF#000000##FFFFFF
##3A2EBA1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a2eba;
/* rgb */ color: rgb(58, 46, 186);
/* oklch */ color: oklch(42.1% 0.207 276.5);
Tailwind
colors: {
  custom: {
    50: '#8269d0',
    500: '#3a2eba',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eba;
$custom-light: #8269d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eba",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 245.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.20721,
    "h": 276.5
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#3A2EBA
secondary
#C2C97B
accent
#E344D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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