#3A2EB9#3A2EB9

#3A2EB9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.206 H 276.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3A2EB9
RGBrgb(58, 46, 185)
HSLhsl(245, 60%, 45%)
HSVhsv(245, 75%, 73%)
CMYKcmyk(68.6%, 75.1%, 0%, 27.5%)
CIE-LABlab(30.29, 47.59, -70.81)
CIE-LCHlch(30.29, 85.32, 303.91°)
OKLaboklab(41.97% 0.0237 -0.2046)
OKLCHoklch(41.97% 0.206 276.6)
XYZxyz(11.4760, 6.3553, 46.5114)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EB9 #ADB92E
analogous
#2E67B9 #3A2EB9 #7F2EB9
triadic
#3A2EB9 #B93A2E #2EB93A
tetradic
#3A2EB9 #B92E67 #ADB92E #2EB97F
square
#3A2EB9 #B92E67 #ADB92E #2EB97F
split-complementary
#3A2EB9 #B97F2E #67B92E
monochromatic
#1B1657 #2B2288 #3A2EB9 #5C51D4 #8A82E0

Accessibility & contrast

On white

9.25
#3A2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EB9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EB9#FFFFFF#000000##FFFFFF
##3A2EB91.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2eb9;
/* rgb */ color: rgb(58, 46, 185);
/* oklch */ color: oklch(42.0% 0.206 276.6);
Tailwind
colors: {
  custom: {
    50: '#8269cf',
    500: '#3a2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eb9;
$custom-light: #8269cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eb9",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 245.18,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41973,
    "c": 0.20601,
    "h": 276.6
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#3A2EB9
secondary
#C2C97A
accent
#E344D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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