#3F329B#3F329B

#3F329B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.163 H 281.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3F329B
RGBrgb(63, 50, 155)
HSLhsl(247, 51%, 40%)
HSVhsv(247, 68%, 61%)
CMYKcmyk(59.4%, 67.7%, 0%, 39.2%)
CIE-LABlab(28.65, 36.31, -55.46)
CIE-LCHlch(28.65, 66.29, 303.21°)
OKLaboklab(40.04% 0.0331 -0.1596)
OKLCHoklch(40.04% 0.163 281.7)
XYZxyz(9.1051, 5.7039, 31.6252)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F329B #8E9B32
analogous
#32599B #3F329B #74329B
triadic
#3F329B #9B3F32 #329B3F
tetradic
#3F329B #9B3259 #8E9B32 #329B74
square
#3F329B #9B3259 #8E9B32 #329B74
split-complementary
#3F329B #9B7432 #599B32
monochromatic
#19143E #2C236D #3F329B #5647C4 #8175D2

Accessibility & contrast

On white

9.81
#3F329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F329B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F329B#FFFFFF#000000##FFFFFF
##3F329B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#044D62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f329b;
/* rgb */ color: rgb(63, 50, 155);
/* oklch */ color: oklch(40.0% 0.163 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e6bb9',
    500: '#3f329b',
    950: '#000000',
  },
}
SCSS
$custom: #3f329b;
$custom-light: #7e6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f329b",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 247.429,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.16303,
    "h": 281.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#3F329B
secondary
#B1BB6E
accent
#DB4DC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F329B

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

Preview Lab → · Contrast checker → · Palette generator →

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