#3A2EA0#3A2EA0

#3A2EA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.175 H 279.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3A2EA0
RGBrgb(58, 46, 160)
HSLhsl(246, 55%, 40%)
HSVhsv(246, 71%, 63%)
CMYKcmyk(63.8%, 71.2%, 0%, 37.3%)
CIE-LABlab(27.82, 39.56, -59.89)
CIE-LCHlch(27.82, 71.77, 303.45°)
OKLaboklab(39.47% 0.0288 -0.1727)
OKLCHoklch(39.47% 0.175 279.4)
XYZxyz(9.0651, 5.3909, 33.8137)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EA0 #94A02E
analogous
#2E5BA0 #3A2EA0 #732EA0
triadic
#3A2EA0 #A03A2E #2EA03A
tetradic
#3A2EA0 #A02E5B #94A02E #2EA073
square
#3A2EA0 #A02E5B #94A02E #2EA073
split-complementary
#3A2EA0 #A0732E #5BA02E
monochromatic
#181341 #292070 #3A2EA0 #5142C9 #7D72D6

Accessibility & contrast

On white

10.10
#3A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EA0
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EA0#FFFFFF#000000##FFFFFF
##3A2EA01.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ea0;
/* rgb */ color: rgb(58, 46, 160);
/* oklch */ color: oklch(39.5% 0.175 279.4);
Tailwind
colors: {
  custom: {
    50: '#7d68bd',
    500: '#3a2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ea0;
$custom-light: #7d68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ea0",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 246.316,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.17512,
    "h": 279.4
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#3A2EA0
secondary
#B5BE6C
accent
#DF49CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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