#3F2E9B#3F2E9B

#3F2E9B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.168 H 282.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3F2E9B
RGBrgb(63, 46, 155)
HSLhsl(249, 54%, 39%)
HSVhsv(249, 70%, 61%)
CMYKcmyk(59.4%, 70.3%, 0%, 39.2%)
CIE-LABlab(27.78, 38.69, -56.89)
CIE-LCHlch(27.78, 68.80, 304.22°)
OKLaboklab(39.41% 0.0366 -0.1638)
OKLCHoklch(39.41% 0.168 282.6)
XYZxyz(8.9415, 5.3767, 31.5706)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E9B #8A9B2E
analogous
#2E549B #3F2E9B #762E9B
triadic
#3F2E9B #9B3F2E #2E9B3F
tetradic
#3F2E9B #9B2E54 #8A9B2E #2E9B76
square
#3F2E9B #9B2E54 #8A9B2E #2E9B76
split-complementary
#3F2E9B #9B762E #549B2E
monochromatic
#19123D #2C206C #3F2E9B #5540C6 #7F6FD4

Accessibility & contrast

On white

10.12
#3F2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F2E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E9B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E9B#FFFFFF#000000##FFFFFF
##3F2E9B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#064B61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2e9b;
/* rgb */ color: rgb(63, 46, 155);
/* oklch */ color: oklch(39.4% 0.168 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f68b9',
    500: '#3f2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e9b;
$custom-light: #7f68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e9b",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 249.358,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.16786,
    "h": 282.6
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#3F2E9B
secondary
#AFBC69
accent
#DE4AC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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