#3F328B#3F328B

#3F328B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.142 H 284.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3F328B
RGBrgb(63, 50, 139)
HSLhsl(249, 47%, 37%)
HSVhsv(249, 64%, 55%)
CMYKcmyk(54.7%, 64%, 0%, 45.5%)
CIE-LABlab(27.30, 31.09, -47.83)
CIE-LCHlch(27.30, 57.05, 303.03°)
OKLaboklab(38.64% 0.0349 -0.1372)
OKLCHoklch(38.64% 0.142 284.3)
XYZxyz(7.8493, 5.2016, 25.0115)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F328B #7E8B32
analogous
#32528B #3F328B #6C328B
triadic
#3F328B #8B3F32 #328B3F
tetradic
#3F328B #8B3252 #7E8B32 #328B6C
square
#3F328B #8B3252 #7E8B32 #328B6C
split-complementary
#3F328B #8B6C32 #528B32
monochromatic
#161231 #2B225E #3F328B #5342B8 #7B6DCA

Accessibility & contrast

On white

10.29
#3F328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F328B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F328B#FFFFFF#000000##FFFFFF
##3F328B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#1F4759
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f328b;
/* rgb */ color: rgb(63, 50, 139);
/* oklch */ color: oklch(38.6% 0.142 284.3);
Tailwind
colors: {
  custom: {
    50: '#7b6aae',
    500: '#3f328b',
    950: '#000000',
  },
}
SCSS
$custom: #3f328b;
$custom-light: #7b6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f328b",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 248.764,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.14157,
    "h": 284.3
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#3F328B
secondary
#A7B267
accent
#D751C3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F328B

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

Preview Lab → · Contrast checker → · Palette generator →

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