#3F3286#3F3286

#3F3286 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.135 H 285.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3F3286
RGBrgb(63, 50, 134)
HSLhsl(249, 46%, 36%)
HSVhsv(249, 63%, 53%)
CMYKcmyk(53%, 62.7%, 0%, 47.5%)
CIE-LABlab(26.90, 29.46, -45.37)
CIE-LCHlch(26.90, 54.10, 303.00°)
OKLaboklab(38.22% 0.0352 -0.13)
OKLCHoklch(38.22% 0.135 285.1)
XYZxyz(7.4923, 5.0588, 23.1313)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3286 #798632
analogous
#324F86 #3F3286 #693286
triadic
#3F3286 #863F32 #32863F
tetradic
#3F3286 #86324F #798632 #328669
square
#3F3286 #86324F #798632 #328669
split-complementary
#3F3286 #866932 #4F8632
monochromatic
#15112D #2A2159 #3F3286 #5443B3 #796BC8

Accessibility & contrast

On white

10.44
#3F3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3286
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3286#FFFFFF#000000##FFFFFF
##3F32861.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#244657
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f3286;
/* rgb */ color: rgb(63, 50, 134);
/* oklch */ color: oklch(38.2% 0.135 285.1);
Tailwind
colors: {
  custom: {
    50: '#7b6aaa',
    500: '#3f3286',
    950: '#000000',
  },
}
SCSS
$custom: #3f3286;
$custom-light: #7b6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3286",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 249.286,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.13466,
    "h": 285.1
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#3F3286
secondary
#A4AF64
accent
#D552C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F3286

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

Preview Lab → · Contrast checker → · Palette generator →

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