#3F396F#3F396F

#3F396F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.090 H 286.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3F396F
RGBrgb(63, 57, 111)
HSLhsl(247, 32%, 33%)
HSVhsv(247, 49%, 44%)
CMYKcmyk(43.2%, 48.6%, 0%, 56.5%)
CIE-LABlab(27.10, 17.43, -30.54)
CIE-LCHlch(27.10, 35.16, 299.71°)
OKLaboklab(37.85% 0.0253 -0.0864)
OKLCHoklch(37.85% 0.09 286.3)
XYZxyz(6.3815, 5.1305, 15.6899)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F396F #696F39
analogous
#394E6F #3F396F #5A396F
triadic
#3F396F #6F3F39 #396F3F
tetradic
#3F396F #6F394E #696F39 #396F5A
square
#3F396F #6F394E #696F39 #396F5A
split-complementary
#3F396F #6F5A39 #4E6F39
monochromatic
#110F1E #282447 #3F396F #564E97 #766EB4

Accessibility & contrast

On white

10.36
#3F396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F396F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F396F#FFFFFF#000000##FFFFFF
##3F396F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254171
Deuteranopia (green-blind)
#243F6E
Tritanopia (blue-blind)
#31444E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f396f;
/* rgb */ color: rgb(63, 57, 111);
/* oklch */ color: oklch(37.9% 0.090 286.3);
Tailwind
colors: {
  custom: {
    50: '#776f99',
    500: '#3f396f',
    950: '#000000',
  },
}
SCSS
$custom: #3f396f;
$custom-light: #776f99;
$custom-dark: #000000;
JSON
{
  "hex": "#3f396f",
  "rgb": {
    "r": 63,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 246.667,
    "s": 32.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.09001,
    "h": 286.3
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#3F396F
secondary
#989E66
accent
#C85FBD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #3F396F

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

Preview Lab → · Contrast checker → · Palette generator →

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