#3E2FA4#3E2FA4

#3E2FA4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.178 H 280.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA4
RGBrgb(62, 47, 164)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(62.2%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.74, 40.83, -60.79)
CIE-LCHlch(28.74, 73.23, 303.89°)
OKLaboklab(40.33% 0.0328 -0.1753)
OKLCHoklch(40.33% 0.178 280.6)
XYZxyz(9.7018, 5.7368, 35.7108)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA4 #95A42F
analogous
#2F5BA4 #3E2FA4 #792FA4
triadic
#3E2FA4 #A43E2F #2FA43E
tetradic
#3E2FA4 #A42F5B #95A42F #2FA479
square
#3E2FA4 #A42F5B #95A42F #2FA479
split-complementary
#3E2FA4 #A4792F #5BA42F
monochromatic
#1A1445 #2C2174 #3E2FA4 #5746CA #8276D8

Accessibility & contrast

On white

9.78
#3E2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FA4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA4#FFFFFF#000000##FFFFFF
##3E2FA41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2fa4;
/* rgb */ color: rgb(62, 47, 164);
/* oklch */ color: oklch(40.3% 0.178 280.6);
Tailwind
colors: {
  custom: {
    50: '#8069c0',
    500: '#3e2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa4;
$custom-light: #8069c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa4",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 247.692,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.17831,
    "h": 280.6
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#3E2FA4
secondary
#B5C06F
accent
#DF49CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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