#3E2FAC#3E2FAC

#3E2FAC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.188 H 279.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3E2FAC
RGBrgb(62, 47, 172)
HSLhsl(247, 57%, 43%)
HSVhsv(247, 73%, 67%)
CMYKcmyk(64%, 72.7%, 0%, 32.5%)
CIE-LABlab(29.50, 43.39, -64.36)
CIE-LCHlch(29.50, 77.61, 303.99°)
OKLaboklab(41.1% 0.0313 -0.1857)
OKLCHoklch(41.1% 0.188 279.6)
XYZxyz(10.4471, 6.0349, 39.6360)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FAC #9DAC2F
analogous
#2F5EAC #3E2FAC #7C2FAC
triadic
#3E2FAC #AC3E2F #2FAC3E
tetradic
#3E2FAC #AC2F5E #9DAC2F #2FAC7C
square
#3E2FAC #AC2F5E #9DAC2F #2FAC7C
split-complementary
#3E2FAC #AC7C2F #5EAC2F
monochromatic
#1B154C #2D227C #3E2FAC #5A4BCE #867BDB

Accessibility & contrast

On white

9.51
#3E2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3E2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FAC
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FAC#FFFFFF#000000##FFFFFF
##3E2FAC1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e2fac;
/* rgb */ color: rgb(62, 47, 172);
/* oklch */ color: oklch(41.1% 0.188 279.6);
Tailwind
colors: {
  custom: {
    50: '#816ac6',
    500: '#3e2fac',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fac;
$custom-light: #816ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fac",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 247.2,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.18831,
    "h": 279.6
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#3E2FAC
secondary
#BAC374
accent
#E047CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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