#3A2EBB#3A2EBB

#3A2EBB is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.208 H 276.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3A2EBB
RGBrgb(58, 46, 187)
HSLhsl(245, 61%, 46%)
HSVhsv(245, 75%, 73%)
CMYKcmyk(69%, 75.4%, 0%, 26.7%)
CIE-LABlab(30.50, 48.23, -71.66)
CIE-LCHlch(30.50, 86.37, 303.94°)
OKLaboklab(42.18% 0.0233 -0.2071)
OKLCHoklch(42.18% 0.208 276.4)
XYZxyz(11.6886, 6.4403, 47.6312)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EBB #AFBB2E
analogous
#2E69BB #3A2EBB #802EBB
triadic
#3A2EBB #BB3A2E #2EBB3A
tetradic
#3A2EBB #BB2E69 #AFBB2E #2EBB80
square
#3A2EBB #BB2E69 #AFBB2E #2EBB80
split-complementary
#3A2EBB #BB802E #69BB2E
monochromatic
#1C1659 #2B228A #3A2EBB #5D52D4 #8B83E0

Accessibility & contrast

On white

9.18
#3A2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EBB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EBB#FFFFFF#000000##FFFFFF
##3A2EBB1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a2ebb;
/* rgb */ color: rgb(58, 46, 187);
/* oklch */ color: oklch(42.2% 0.208 276.4);
Tailwind
colors: {
  custom: {
    50: '#8369d1',
    500: '#3a2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ebb;
$custom-light: #8369d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ebb",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 245.106,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.20841,
    "h": 276.4
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#3A2EBB
secondary
#C3CA7B
accent
#E444D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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