#3F2D9B#3F2D9B

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

Color values

HEX#3F2D9B
RGBrgb(63, 45, 155)
HSLhsl(250, 55%, 39%)
HSVhsv(250, 71%, 61%)
CMYKcmyk(59.4%, 71%, 0%, 39.2%)
CIE-LABlab(27.57, 39.26, -57.23)
CIE-LCHlch(27.57, 69.41, 304.45°)
OKLaboklab(39.26% 0.0375 -0.1648)
OKLCHoklch(39.26% 0.169 282.8)
XYZxyz(8.9028, 5.2995, 31.5578)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D9B #899B2D
analogous
#2D529B #3F2D9B #762D9B
triadic
#3F2D9B #9B3F2D #2D9B3F
tetradic
#3F2D9B #9B2D52 #899B2D #2D9B76
square
#3F2D9B #9B2D52 #899B2D #2D9B76
split-complementary
#3F2D9B #9B762D #529B2D
monochromatic
#18113C #2C1F6C #3F2D9B #553EC7 #7E6ED5

Accessibility & contrast

On white

10.19
#3F2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F2D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D9B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D9B#FFFFFF#000000##FFFFFF
##3F2D9B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#064A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2d9b;
/* rgb */ color: rgb(63, 45, 155);
/* oklch */ color: oklch(39.3% 0.169 282.8);
Tailwind
colors: {
  custom: {
    50: '#7f68b9',
    500: '#3f2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d9b;
$custom-light: #7f68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d9b",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 249.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.16903,
    "h": 282.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#3F2D9B
secondary
#AEBC68
accent
#DE49C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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