#3F3580#3F3580

#3F3580 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.122 H 285.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3F3580
RGBrgb(63, 53, 128)
HSLhsl(248, 41%, 35%)
HSVhsv(248, 59%, 50%)
CMYKcmyk(50.8%, 58.6%, 0%, 49.8%)
CIE-LABlab(27.19, 25.58, -41.15)
CIE-LCHlch(27.19, 48.45, 301.86°)
OKLaboklab(38.28% 0.0319 -0.1176)
OKLCHoklch(38.28% 0.122 285.2)
XYZxyz(7.2181, 5.1611, 21.0338)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3580 #768035
analogous
#355080 #3F3580 #643580
triadic
#3F3580 #803F35 #35803F
tetradic
#3F3580 #803550 #768035 #358064
square
#3F3580 #803550 #768035 #358064
split-complementary
#3F3580 #806435 #508035
monochromatic
#141129 #2A2355 #3F3580 #5447AB #786DC3

Accessibility & contrast

On white

10.33
#3F3580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3580
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3580#FFFFFF#000000##FFFFFF
##3F35801.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034283
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#284655
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f3580;
/* rgb */ color: rgb(63, 53, 128);
/* oklch */ color: oklch(38.3% 0.122 285.2);
Tailwind
colors: {
  custom: {
    50: '#796ca5',
    500: '#3f3580',
    950: '#000000',
  },
}
SCSS
$custom: #3f3580;
$custom-light: #796ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3580",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 248,
    "s": 41.436,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38283,
    "c": 0.1218,
    "h": 285.2
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#3F3580
secondary
#A2AB66
accent
#D157C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F3580

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

Preview Lab → · Contrast checker → · Palette generator →

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