#3F329D#3F329D

#3F329D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.166 H 281.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3F329D
RGBrgb(63, 50, 157)
HSLhsl(247, 52%, 41%)
HSVhsv(247, 68%, 62%)
CMYKcmyk(59.9%, 68.2%, 0%, 38.4%)
CIE-LABlab(28.83, 36.96, -56.39)
CIE-LCHlch(28.83, 67.43, 303.24°)
OKLaboklab(40.22% 0.0329 -0.1624)
OKLCHoklch(40.22% 0.166 281.4)
XYZxyz(9.2744, 5.7717, 32.5171)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F329D #909D32
analogous
#325A9D #3F329D #74329D
triadic
#3F329D #9D3F32 #329D3F
tetradic
#3F329D #9D325A #909D32 #329D74
square
#3F329D #9D325A #909D32 #329D74
split-complementary
#3F329D #9D7432 #5A9D32
monochromatic
#1A1440 #2C236F #3F329D #5748C5 #8176D3

Accessibility & contrast

On white

9.75
#3F329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F329D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F329D#FFFFFF#000000##FFFFFF
##3F329D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f329d;
/* rgb */ color: rgb(63, 50, 157);
/* oklch */ color: oklch(40.2% 0.166 281.4);
Tailwind
colors: {
  custom: {
    50: '#7f6bbb',
    500: '#3f329d',
    950: '#000000',
  },
}
SCSS
$custom: #3f329d;
$custom-light: #7f6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f329d",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 247.29,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.16565,
    "h": 281.4
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#3F329D
secondary
#B2BC6F
accent
#DB4DCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F329D

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

Preview Lab → · Contrast checker → · Palette generator →

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