#3A2EAC#3A2EAC

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

Color values

HEX#3A2EAC
RGBrgb(58, 46, 172)
HSLhsl(246, 58%, 43%)
HSVhsv(246, 73%, 67%)
CMYKcmyk(66.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(28.98, 43.45, -65.22)
CIE-LCHlch(28.98, 78.37, 303.67°)
OKLaboklab(40.65% 0.0265 -0.1883)
OKLCHoklch(40.65% 0.19 278)
XYZxyz(10.1659, 5.8312, 39.6115)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EAC #A0AC2E
analogous
#2E61AC #3A2EAC #792EAC
triadic
#3A2EAC #AC3A2E #2EAC3A
tetradic
#3A2EAC #AC2E61 #A0AC2E #2EAC79
square
#3A2EAC #AC2E61 #A0AC2E #2EAC79
split-complementary
#3A2EAC #AC792E #61AC2E
monochromatic
#19144B #2A217C #3A2EAC #5649CE #8379DB

Accessibility & contrast

On white

9.69
#3A2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EAC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EAC#FFFFFF#000000##FFFFFF
##3A2EAC1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2eac;
/* rgb */ color: rgb(58, 46, 172);
/* oklch */ color: oklch(40.7% 0.190 278.0);
Tailwind
colors: {
  custom: {
    50: '#8069c6',
    500: '#3a2eac',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eac;
$custom-light: #8069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eac",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 245.714,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40653,
    "c": 0.19018,
    "h": 278
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#3A2EAC
secondary
#BCC372
accent
#E147D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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