#3F328E#3F328E

#3F328E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.146 H 283.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3F328E
RGBrgb(63, 50, 142)
HSLhsl(248, 48%, 38%)
HSVhsv(248, 65%, 56%)
CMYKcmyk(55.6%, 64.8%, 0%, 44.3%)
CIE-LABlab(27.55, 32.07, -49.29)
CIE-LCHlch(27.55, 58.80, 303.05°)
OKLaboklab(38.89% 0.0346 -0.1415)
OKLCHoklch(38.89% 0.146 283.7)
XYZxyz(8.0715, 5.2905, 26.1818)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F328E #818E32
analogous
#32538E #3F328E #6D328E
triadic
#3F328E #8E3F32 #328E3F
tetradic
#3F328E #8E3253 #818E32 #328E6D
square
#3F328E #8E3253 #818E32 #328E6D
split-complementary
#3F328E #8E6D32 #538E32
monochromatic
#171233 #2B2261 #3F328E #5342BB #7C6ECC

Accessibility & contrast

On white

10.20
#3F328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F328E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F328E#FFFFFF#000000##FFFFFF
##3F328E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#1C495B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f328e;
/* rgb */ color: rgb(63, 50, 142);
/* oklch */ color: oklch(38.9% 0.146 283.7);
Tailwind
colors: {
  custom: {
    50: '#7c6bb0',
    500: '#3f328e',
    950: '#000000',
  },
}
SCSS
$custom: #3f328e;
$custom-light: #7c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f328e",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 248.478,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.14567,
    "h": 283.7
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#3F328E
secondary
#A9B468
accent
#D850C4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F328E

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

Preview Lab → · Contrast checker → · Palette generator →

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