#3A2EB3#3A2EB3

#3A2EB3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.199 H 277.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3A2EB3
RGBrgb(58, 46, 179)
HSLhsl(245, 59%, 44%)
HSVhsv(245, 74%, 70%)
CMYKcmyk(67.6%, 74.3%, 0%, 29.8%)
CIE-LABlab(29.68, 45.69, -68.25)
CIE-LCHlch(29.68, 82.13, 303.80°)
OKLaboklab(41.36% 0.025 -0.1972)
OKLCHoklch(41.36% 0.199 277.2)
XYZxyz(10.8560, 6.1073, 43.2458)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EB3 #A7B32E
analogous
#2E64B3 #3A2EB3 #7D2EB3
triadic
#3A2EB3 #B33A2E #2EB33A
tetradic
#3A2EB3 #B32E64 #A7B32E #2EB37D
square
#3A2EB3 #B32E64 #A7B32E #2EB37D
split-complementary
#3A2EB3 #B37D2E #64B32E
monochromatic
#1A1552 #2A2182 #3A2EB3 #594DD1 #867EDE

Accessibility & contrast

On white

9.45
#3A2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EB3
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EB3#FFFFFF#000000##FFFFFF
##3A2EB31.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2eb3;
/* rgb */ color: rgb(58, 46, 179);
/* oklch */ color: oklch(41.4% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#8169cb',
    500: '#3a2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eb3;
$custom-light: #8169cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eb3",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 245.414,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.19876,
    "h": 277.2
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#3A2EB3
secondary
#BFC676
accent
#E246D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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