#3F2E9D#3F2E9D

#3F2E9D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.170 H 282.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3F2E9D
RGBrgb(63, 46, 157)
HSLhsl(249, 55%, 40%)
HSVhsv(249, 71%, 62%)
CMYKcmyk(59.9%, 70.7%, 0%, 38.4%)
CIE-LABlab(27.97, 39.32, -57.81)
CIE-LCHlch(27.97, 69.91, 304.22°)
OKLaboklab(39.6% 0.0363 -0.1665)
OKLCHoklch(39.6% 0.17 282.3)
XYZxyz(9.1108, 5.4445, 32.4625)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E9D #8C9D2E
analogous
#2E559D #3F2E9D #762E9D
triadic
#3F2E9D #9D3F2E #2E9D3F
tetradic
#3F2E9D #9D2E55 #8C9D2E #2E9D76
square
#3F2E9D #9D2E55 #8C9D2E #2E9D76
split-complementary
#3F2E9D #9D762E #559D2E
monochromatic
#19123E #2C206E #3F2E9D #5541C7 #8070D5

Accessibility & contrast

On white

10.05
#3F2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E9D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E9D#FFFFFF#000000##FFFFFF
##3F2E9D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2e9d;
/* rgb */ color: rgb(63, 46, 157);
/* oklch */ color: oklch(39.6% 0.170 282.3);
Tailwind
colors: {
  custom: {
    50: '#7f68bb',
    500: '#3f2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e9d;
$custom-light: #7f68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e9d",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 249.189,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.17041,
    "h": 282.3
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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