#3F41C2#3F41C2

#3F41C2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.196 H 274.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3F41C2
RGBrgb(63, 65, 194)
HSLhsl(239, 52%, 50%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(67.5%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.46, 40.18, -67.60)
CIE-LCHlch(35.46, 78.64, 300.73°)
OKLaboklab(46.02% 0.0166 -0.1952)
OKLCHoklch(46.02% 0.196 274.9)
XYZxyz(13.6746, 8.7312, 51.9931)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C2 #C2C03F
analogous
#3F82C2 #3F41C2 #7E3FC2
triadic
#3F41C2 #C23F41 #41C23F
tetradic
#3F41C2 #C23F82 #C2C03F #3FC27E
square
#3F41C2 #C23F82 #C2C03F #3FC27E
split-complementary
#3F41C2 #C27E3F #82C23F
monochromatic
#202266 #2F3195 #3F41C2 #6D6FD1 #9C9DE0

Accessibility & contrast

On white

7.65
#3F41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3F41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C2#FFFFFF#000000##FFFFFF
##3F41C21.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f41c2;
/* rgb */ color: rgb(63, 65, 194);
/* oklch */ color: oklch(46.0% 0.196 274.9);
Tailwind
colors: {
  custom: {
    50: '#8576d6',
    500: '#3f41c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c2;
$custom-light: #8576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c2",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 239.084,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46024,
    "c": 0.19587,
    "h": 274.9
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#3F41C2
secondary
#CCCB91
accent
#D94DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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