#3F41C3#3F41C3

#3F41C3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.197 H 274.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3F41C3
RGBrgb(63, 65, 195)
HSLhsl(239, 52%, 51%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(67.7%, 66.7%, 0%, 23.5%)
CIE-LABlab(35.55, 40.52, -68.04)
CIE-LCHlch(35.55, 79.19, 300.77°)
OKLaboklab(46.12% 0.0165 -0.1965)
OKLCHoklch(46.12% 0.197 274.8)
XYZxyz(13.7873, 8.7762, 52.5866)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C3 #C3C13F
analogous
#3F83C3 #3F41C3 #7F3FC3
triadic
#3F41C3 #C33F41 #41C33F
tetradic
#3F41C3 #C33F83 #C3C13F #3FC37F
square
#3F41C3 #C33F83 #C3C13F #3FC37F
split-complementary
#3F41C3 #C37F3F #83C33F
monochromatic
#202167 #2F3096 #3F41C3 #6E6FD2 #9C9DE0

Accessibility & contrast

On white

7.62
#3F41C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3F41C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C3#FFFFFF#000000##FFFFFF
##3F41C31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f41c3;
/* rgb */ color: rgb(63, 65, 195);
/* oklch */ color: oklch(46.1% 0.197 274.8);
Tailwind
colors: {
  custom: {
    50: '#8576d6',
    500: '#3f41c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c3;
$custom-light: #8576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c3",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 239.091,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.19715,
    "h": 274.8
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#3F41C3
secondary
#CCCB92
accent
#DA4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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