#3A2EC3#3A2EC3

#3A2EC3 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.218 H 275.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2EC3
RGBrgb(58, 46, 195)
HSLhsl(245, 62%, 47%)
HSVhsv(245, 76%, 76%)
CMYKcmyk(70.3%, 76.4%, 0%, 23.5%)
CIE-LABlab(31.33, 50.73, -75.00)
CIE-LCHlch(31.33, 90.54, 304.08°)
OKLaboklab(43.01% 0.0215 -0.2168)
OKLCHoklch(43.01% 0.218 275.7)
XYZxyz(12.5690, 6.7925, 52.2679)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EC3 #B7C32E
analogous
#2E6DC3 #3A2EC3 #842EC3
triadic
#3A2EC3 #C33A2E #2EC33A
tetradic
#3A2EC3 #C32E6D #B7C32E #2EC384
square
#3A2EC3 #C32E6D #B7C32E #2EC384
split-complementary
#3A2EC3 #C3842E #6DC32E
monochromatic
#1D1760 #2B2291 #3A2EC3 #6157D7 #9088E3

Accessibility & contrast

On white

8.90
#3A2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EC3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EC3#FFFFFF#000000##FFFFFF
##3A2EC31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a2ec3;
/* rgb */ color: rgb(58, 46, 195);
/* oklch */ color: oklch(43.0% 0.218 275.7);
Tailwind
colors: {
  custom: {
    50: '#846ad7',
    500: '#3a2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ec3;
$custom-light: #846ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ec3",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 244.832,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.21788,
    "h": 275.7
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#3A2EC3
secondary
#C7CD80
accent
#E543D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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