#3F2E9A#3F2E9A

#3F2E9A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.167 H 282.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3F2E9A
RGBrgb(63, 46, 154)
HSLhsl(249, 54%, 39%)
HSVhsv(249, 70%, 60%)
CMYKcmyk(59.1%, 70.1%, 0%, 39.6%)
CIE-LABlab(27.69, 38.37, -56.43)
CIE-LCHlch(27.69, 68.23, 304.21°)
OKLaboklab(39.32% 0.0368 -0.1625)
OKLCHoklch(39.32% 0.167 282.8)
XYZxyz(8.8578, 5.3433, 31.1302)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E9A #899A2E
analogous
#2E539A #3F2E9A #752E9A
triadic
#3F2E9A #9A3F2E #2E9A3F
tetradic
#3F2E9A #9A2E53 #899A2E #2E9A75
square
#3F2E9A #9A2E53 #899A2E #2E9A75
split-complementary
#3F2E9A #9A752E #539A2E
monochromatic
#18123C #2C206B #3F2E9A #553FC6 #7E6FD4

Accessibility & contrast

On white

10.15
#3F2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E9A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E9A#FFFFFF#000000##FFFFFF
##3F2E9A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#084A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2e9a;
/* rgb */ color: rgb(63, 46, 154);
/* oklch */ color: oklch(39.3% 0.167 282.8);
Tailwind
colors: {
  custom: {
    50: '#7e68b9',
    500: '#3f2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e9a;
$custom-light: #7e68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e9a",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 249.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.16658,
    "h": 282.8
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#3F2E9A
secondary
#AEBB69
accent
#DD4AC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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