#3F3196#3F3196

#3F3196 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.158 H 282.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3F3196
RGBrgb(63, 49, 150)
HSLhsl(248, 51%, 39%)
HSVhsv(248, 67%, 59%)
CMYKcmyk(58%, 67.3%, 0%, 41.2%)
CIE-LABlab(27.99, 35.29, -53.48)
CIE-LCHlch(27.99, 64.08, 303.42°)
OKLaboklab(39.42% 0.0347 -0.1538)
OKLCHoklch(39.42% 0.158 282.7)
XYZxyz(8.6515, 5.4548, 29.4453)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3196 #889631
analogous
#315696 #3F3196 #723196
triadic
#3F3196 #963F31 #31963F
tetradic
#3F3196 #963156 #889631 #319672
square
#3F3196 #963156 #889631 #319672
split-complementary
#3F3196 #967231 #569631
monochromatic
#18133A #2C2268 #3F3196 #5443C1 #7E71D1

Accessibility & contrast

On white

10.04
#3F3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3196
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3196#FFFFFF#000000##FFFFFF
##3F31961.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3196;
/* rgb */ color: rgb(63, 49, 150);
/* oklch */ color: oklch(39.4% 0.158 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d6ab6',
    500: '#3f3196',
    950: '#000000',
  },
}
SCSS
$custom: #3f3196;
$custom-light: #7d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3196",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 248.317,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39425,
    "c": 0.1577,
    "h": 282.7
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3196

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

Preview Lab → · Contrast checker → · Palette generator →

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