#3F3186#3F3186

#3F3186 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.136 H 285.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3F3186
RGBrgb(63, 49, 134)
HSLhsl(250, 46%, 36%)
HSVhsv(250, 63%, 53%)
CMYKcmyk(53%, 63.4%, 0%, 47.5%)
CIE-LABlab(26.66, 30.10, -45.76)
CIE-LCHlch(26.66, 54.77, 303.33°)
OKLaboklab(38.04% 0.0363 -0.1311)
OKLCHoklch(38.04% 0.136 285.5)
XYZxyz(7.4500, 4.9742, 23.1172)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3186 #788631
analogous
#314D86 #3F3186 #693186
triadic
#3F3186 #863F31 #31863F
tetradic
#3F3186 #86314D #788631 #318669
square
#3F3186 #86314D #788631 #318669
split-complementary
#3F3186 #866931 #4D8631
monochromatic
#15102C #2A2159 #3F3186 #5441B3 #7969C8

Accessibility & contrast

On white

10.53
#3F3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3186
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3186#FFFFFF#000000##FFFFFF
##3F31861.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#244556
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f3186;
/* rgb */ color: rgb(63, 49, 134);
/* oklch */ color: oklch(38.0% 0.136 285.5);
Tailwind
colors: {
  custom: {
    50: '#7b6aaa',
    500: '#3f3186',
    950: '#000000',
  },
}
SCSS
$custom: #3f3186;
$custom-light: #7b6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3186",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 249.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.13606,
    "h": 285.5
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#3F3186
secondary
#A3B063
accent
#D652C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F3186

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

Preview Lab → · Contrast checker → · Palette generator →

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