#3F3296#3F3296

#3F3296 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.156 H 282.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3F3296
RGBrgb(63, 50, 150)
HSLhsl(248, 50%, 39%)
HSVhsv(248, 67%, 59%)
CMYKcmyk(58%, 66.7%, 0%, 41.2%)
CIE-LABlab(28.22, 34.68, -53.12)
CIE-LCHlch(28.22, 63.44, 303.14°)
OKLaboklab(39.59% 0.0338 -0.1527)
OKLCHoklch(39.59% 0.156 282.5)
XYZxyz(8.6938, 5.5394, 29.4593)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3296 #899632
analogous
#325796 #3F3296 #713296
triadic
#3F3296 #963F32 #32963F
tetradic
#3F3296 #963257 #899632 #329671
square
#3F3296 #963257 #899632 #329671
split-complementary
#3F3296 #967132 #579632
monochromatic
#18133A #2C2368 #3F3296 #5544C1 #7E72D0

Accessibility & contrast

On white

9.96
#3F3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3296
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3296#FFFFFF#000000##FFFFFF
##3F32961.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#114B5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f3296;
/* rgb */ color: rgb(63, 50, 150);
/* oklch */ color: oklch(39.6% 0.156 282.5);
Tailwind
colors: {
  custom: {
    50: '#7d6bb6',
    500: '#3f3296',
    950: '#000000',
  },
}
SCSS
$custom: #3f3296;
$custom-light: #7d6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3296",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 247.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.15643,
    "h": 282.5
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#3F3296
secondary
#AEB86C
accent
#DA4EC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F3296

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

Preview Lab → · Contrast checker → · Palette generator →

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