#3F3799#3F3799

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

Color values

HEX#3F3799
RGBrgb(63, 55, 153)
HSLhsl(245, 47%, 41%)
HSVhsv(245, 64%, 60%)
CMYKcmyk(58.8%, 64.1%, 0%, 40%)
CIE-LABlab(29.63, 32.57, -52.64)
CIE-LCHlch(29.63, 61.90, 301.75°)
OKLaboklab(40.7% 0.0287 -0.1513)
OKLCHoklch(40.7% 0.154 280.7)
XYZxyz(9.1641, 6.0884, 30.8231)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3799 #919937
analogous
#376099 #3F3799 #703799
triadic
#3F3799 #993F37 #37993F
tetradic
#3F3799 #993760 #919937 #379970
square
#3F3799 #993760 #919937 #379970
split-complementary
#3F3799 #997037 #609937
monochromatic
#1A173F #2C276C #3F3799 #574EBF #827BD0

Accessibility & contrast

On white

9.47
#3F3799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3799
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3799#FFFFFF#000000##FFFFFF
##3F37991.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#084F63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f3799;
/* rgb */ color: rgb(63, 55, 153);
/* oklch */ color: oklch(40.7% 0.154 280.7);
Tailwind
colors: {
  custom: {
    50: '#7d6eb8',
    500: '#3f3799',
    950: '#000000',
  },
}
SCSS
$custom: #3f3799;
$custom-light: #7d6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3799",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 244.898,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.15404,
    "h": 280.7
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#3F3799
secondary
#B3B973
accent
#D751CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3F3799

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

Preview Lab → · Contrast checker → · Palette generator →

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