#3E2FA2#3E2FA2

#3E2FA2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.176 H 280.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA2
RGBrgb(62, 47, 162)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(61.7%, 71%, 0%, 36.5%)
CIE-LABlab(28.55, 40.19, -59.89)
CIE-LCHlch(28.55, 72.12, 303.87°)
OKLaboklab(40.14% 0.0332 -0.1726)
OKLCHoklch(40.14% 0.176 280.9)
XYZxyz(9.5227, 5.6651, 34.7671)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA2 #93A22F
analogous
#2F59A2 #3E2FA2 #772FA2
triadic
#3E2FA2 #A23E2F #2FA23E
tetradic
#3E2FA2 #A22F59 #93A22F #2FA277
square
#3E2FA2 #A22F59 #93A22F #2FA277
split-complementary
#3E2FA2 #A2772F #59A22F
monochromatic
#1A1343 #2C2173 #3E2FA2 #5645C9 #8175D7

Accessibility & contrast

On white

9.84
#3E2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E2FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FA2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA2#FFFFFF#000000##FFFFFF
##3E2FA21.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2fa2;
/* rgb */ color: rgb(62, 47, 162);
/* oklch */ color: oklch(40.1% 0.176 280.9);
Tailwind
colors: {
  custom: {
    50: '#7f69bf',
    500: '#3e2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa2;
$custom-light: #7f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa2",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 247.826,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.17579,
    "h": 280.9
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#3E2FA2
secondary
#B4BF6E
accent
#DE49CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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