#3F3683#3F3683

#3F3683 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.125 H 284.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3F3683
RGBrgb(63, 54, 131)
HSLhsl(247, 42%, 36%)
HSVhsv(247, 59%, 51%)
CMYKcmyk(51.9%, 58.8%, 0%, 48.6%)
CIE-LABlab(27.66, 25.91, -42.26)
CIE-LCHlch(27.66, 49.57, 301.51°)
OKLaboklab(38.71% 0.0307 -0.1208)
OKLCHoklch(38.71% 0.125 284.2)
XYZxyz(7.4646, 5.3334, 22.1045)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3683 #7A8336
analogous
#365483 #3F3683 #663683
triadic
#3F3683 #833F36 #36833F
tetradic
#3F3683 #833654 #7A8336 #368366
square
#3F3683 #833654 #7A8336 #368366
split-complementary
#3F3683 #836636 #548336
monochromatic
#15122C #2A2458 #3F3683 #5448AE #7970C4

Accessibility & contrast

On white

10.16
#3F3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3683
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3683#FFFFFF#000000##FFFFFF
##3F36831.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#264857
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f3683;
/* rgb */ color: rgb(63, 54, 131);
/* oklch */ color: oklch(38.7% 0.125 284.2);
Tailwind
colors: {
  custom: {
    50: '#7a6da8',
    500: '#3f3683',
    950: '#000000',
  },
}
SCSS
$custom: #3f3683;
$custom-light: #7a6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3683",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 247.013,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38705,
    "c": 0.12465,
    "h": 284.2
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#3F3683
secondary
#A4AC68
accent
#D156C3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #3F3683

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

Preview Lab → · Contrast checker → · Palette generator →

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