#3F41C1#3F41C1

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

Color values

HEX#3F41C1
RGBrgb(63, 65, 193)
HSLhsl(239, 51%, 50%)
HSVhsv(239, 67%, 76%)
CMYKcmyk(67.4%, 66.3%, 0%, 24.3%)
CIE-LABlab(35.37, 39.84, -67.16)
CIE-LCHlch(35.37, 78.09, 300.68°)
OKLaboklab(45.93% 0.0167 -0.1939)
OKLCHoklch(45.93% 0.195 274.9)
XYZxyz(13.5627, 8.6864, 51.4036)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C1 #C1BF3F
analogous
#3F82C1 #3F41C1 #7E3FC1
triadic
#3F41C1 #C13F41 #41C13F
tetradic
#3F41C1 #C13F82 #C1BF3F #3FC17E
square
#3F41C1 #C13F82 #C1BF3F #3FC17E
split-complementary
#3F41C1 #C17E3F #82C13F
monochromatic
#212265 #303193 #3F41C1 #6D6FD0 #9C9DDF

Accessibility & contrast

On white

7.67
#3F41C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F41C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C1#FFFFFF#000000##FFFFFF
##3F41C11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f41c1;
/* rgb */ color: rgb(63, 65, 193);
/* oklch */ color: oklch(45.9% 0.195 274.9);
Tailwind
colors: {
  custom: {
    50: '#8476d5',
    500: '#3f41c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c1;
$custom-light: #8476d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c1",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 239.077,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.1946,
    "h": 274.9
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#3F41C1
secondary
#CBCA91
accent
#D84DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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