#3E2FAA#3E2FAA

#3E2FAA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.186 H 279.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3E2FAA
RGBrgb(62, 47, 170)
HSLhsl(247, 57%, 43%)
HSVhsv(247, 72%, 67%)
CMYKcmyk(63.5%, 72.4%, 0%, 33.3%)
CIE-LABlab(29.31, 42.75, -63.47)
CIE-LCHlch(29.31, 76.53, 303.96°)
OKLaboklab(40.91% 0.0317 -0.1831)
OKLCHoklch(40.91% 0.186 279.8)
XYZxyz(10.2565, 5.9587, 38.6321)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FAA #9BAA2F
analogous
#2F5EAA #3E2FAA #7B2FAA
triadic
#3E2FAA #AA3E2F #2FAA3E
tetradic
#3E2FAA #AA2F5E #9BAA2F #2FAA7B
square
#3E2FAA #AA2F5E #9BAA2F #2FAA7B
split-complementary
#3E2FAA #AA7B2F #5EAA2F
monochromatic
#1B144A #2D227A #3E2FAA #5949CD #8579DA

Accessibility & contrast

On white

9.58
#3E2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3E2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FAA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FAA#FFFFFF#000000##FFFFFF
##3E2FAA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2faa;
/* rgb */ color: rgb(62, 47, 170);
/* oklch */ color: oklch(40.9% 0.186 279.8);
Tailwind
colors: {
  custom: {
    50: '#8169c4',
    500: '#3e2faa',
    950: '#000000',
  },
}
SCSS
$custom: #3e2faa;
$custom-light: #8169c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2faa",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 247.317,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.18583,
    "h": 279.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#3E2FAA
secondary
#B9C272
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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