#3E2CA4#3E2CA4

#3E2CA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.182 H 281.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3E2CA4
RGBrgb(62, 44, 164)
HSLhsl(249, 58%, 41%)
HSVhsv(249, 73%, 64%)
CMYKcmyk(62.2%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.13, 42.53, -61.79)
CIE-LCHlch(28.13, 75.02, 304.54°)
OKLaboklab(39.89% 0.035 -0.1782)
OKLCHoklch(39.89% 0.182 281.1)
XYZxyz(9.5860, 5.5051, 35.6722)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CA4 #92A42C
analogous
#2C56A4 #3E2CA4 #7A2CA4
triadic
#3E2CA4 #A43E2C #2CA43E
tetradic
#3E2CA4 #A42C56 #92A42C #2CA47A
square
#3E2CA4 #A42C56 #92A42C #2CA47A
split-complementary
#3E2CA4 #A47A2C #56A42C
monochromatic
#1A1243 #2C1F74 #3E2CA4 #5641CC #8171D9

Accessibility & contrast

On white

9.99
#3E2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CA4
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CA4#FFFFFF#000000##FFFFFF
##3E2CA41.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2ca4;
/* rgb */ color: rgb(62, 44, 164);
/* oklch */ color: oklch(39.9% 0.182 281.1);
Tailwind
colors: {
  custom: {
    50: '#8067c0',
    500: '#3e2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ca4;
$custom-light: #8067c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ca4",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 249,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.1816,
    "h": 281.1
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#3E2CA4
secondary
#B4C06B
accent
#E147CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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