#3E2AB2#3E2AB2

#3E2AB2 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.201 H 279.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3E2AB2
RGBrgb(62, 42, 178)
HSLhsl(249, 62%, 43%)
HSVhsv(249, 76%, 70%)
CMYKcmyk(65.2%, 76.4%, 0%, 30.2%)
CIE-LABlab(29.14, 47.96, -68.53)
CIE-LCHlch(29.14, 83.65, 304.98°)
OKLaboklab(41.03% 0.0331 -0.1979)
OKLCHoklch(41.03% 0.201 279.5)
XYZxyz(10.8479, 5.8935, 42.6768)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AB2 #9EB22A
analogous
#2A5AB2 #3E2AB2 #822AB2
triadic
#3E2AB2 #B23E2A #2AB23E
tetradic
#3E2AB2 #B22A5A #9EB22A #2AB282
square
#3E2AB2 #B22A5A #9EB22A #2AB282
split-complementary
#3E2AB2 #B2822A #5AB22A
monochromatic
#1C134F #2D1E80 #3E2AB2 #5B46D3 #8777DF

Accessibility & contrast

On white

9.64
#3E2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AB2
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AB2#FFFFFF#000000##FFFFFF
##3E2AB21.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2ab2;
/* rgb */ color: rgb(62, 42, 178);
/* oklch */ color: oklch(41.0% 0.201 279.5);
Tailwind
colors: {
  custom: {
    50: '#8367ca',
    500: '#3e2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ab2;
$custom-light: #8367ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ab2",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 248.824,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.20061,
    "h": 279.5
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#3E2AB2
secondary
#BAC771
accent
#E543CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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