#3F3897#3F3897

#3F3897 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.150 H 280.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3F3897
RGBrgb(63, 56, 151)
HSLhsl(244, 46%, 41%)
HSVhsv(244, 63%, 59%)
CMYKcmyk(58.3%, 62.9%, 0%, 40.8%)
CIE-LABlab(29.71, 31.27, -51.30)
CIE-LCHlch(29.71, 60.08, 301.37°)
OKLaboklab(40.7% 0.0279 -0.1474)
OKLCHoklch(40.7% 0.15 280.7)
XYZxyz(9.0482, 6.1189, 29.9764)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3897 #909738
analogous
#386097 #3F3897 #6E3897
triadic
#3F3897 #973F38 #38973F
tetradic
#3F3897 #973860 #909738 #38976E
square
#3F3897 #973860 #909738 #38976E
split-complementary
#3F3897 #976E38 #609738
monochromatic
#1A173E #2C276A #3F3897 #574FBE #817BCE

Accessibility & contrast

On white

9.44
#3F3897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F3897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3897
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3897#FFFFFF#000000##FFFFFF
##3F38971.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#0D4F62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f3897;
/* rgb */ color: rgb(63, 56, 151);
/* oklch */ color: oklch(40.7% 0.150 280.7);
Tailwind
colors: {
  custom: {
    50: '#7d6fb6',
    500: '#3f3897',
    950: '#000000',
  },
}
SCSS
$custom: #3f3897;
$custom-light: #7d6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3897",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 244.421,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.407,
    "c": 0.14999,
    "h": 280.7
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#3F3897
secondary
#B2B773
accent
#D652CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F3897

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

Preview Lab → · Contrast checker → · Palette generator →

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