#3F399B#3F399B

#3F399B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.154 H 279.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3F399B
RGBrgb(63, 57, 155)
HSLhsl(244, 46%, 42%)
HSVhsv(244, 63%, 61%)
CMYKcmyk(59.4%, 63.2%, 0%, 39.2%)
CIE-LABlab(30.28, 31.98, -52.81)
CIE-LCHlch(30.28, 61.74, 301.20°)
OKLaboklab(41.22% 0.0266 -0.1518)
OKLCHoklch(41.22% 0.154 279.9)
XYZxyz(9.4276, 6.3489, 31.7327)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F399B #959B39
analogous
#39649B #3F399B #70399B
triadic
#3F399B #9B3F39 #399B3F
tetradic
#3F399B #9B3964 #959B39 #399B70
square
#3F399B #9B3964 #959B39 #399B70
split-complementary
#3F399B #9B7039 #649B39
monochromatic
#1B1842 #2D296E #3F399B #5952BF #847FD0

Accessibility & contrast

On white

9.25
#3F399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F399B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F399B#FFFFFF#000000##FFFFFF
##3F399B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#025164
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f399b;
/* rgb */ color: rgb(63, 57, 155);
/* oklch */ color: oklch(41.2% 0.154 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e70b9',
    500: '#3f399b',
    950: '#000000',
  },
}
SCSS
$custom: #3f399b;
$custom-light: #7e70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f399b",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 243.673,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.15416,
    "h": 279.9
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#3F399B
secondary
#B5B977
accent
#D652CE
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F399B

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

Preview Lab → · Contrast checker → · Palette generator →

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