#3F41C7#3F41C7

#3F41C7 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.5% C 0.202 H 274.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3F41C7
RGBrgb(63, 65, 199)
HSLhsl(239, 55%, 51%)
HSVhsv(239, 68%, 78%)
CMYKcmyk(68.3%, 67.3%, 0%, 22%)
CIE-LABlab(35.91, 41.86, -69.79)
CIE-LCHlch(35.91, 81.38, 300.96°)
OKLaboklab(46.48% 0.016 -0.2016)
OKLCHoklch(46.48% 0.202 274.5)
XYZxyz(14.2456, 8.9596, 55.0004)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C7 #C7C53F
analogous
#3F85C7 #3F41C7 #813FC7
triadic
#3F41C7 #C73F41 #41C73F
tetradic
#3F41C7 #C73F85 #C7C53F #3FC781
square
#3F41C7 #C73F85 #C7C53F #3FC781
split-complementary
#3F41C7 #C7813F #85C73F
monochromatic
#20216C #2D2F9B #3F41C7 #6E70D5 #9E9FE3

Accessibility & contrast

On white

7.52
#3F41C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F41C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C7#FFFFFF#000000##FFFFFF
##3F41C71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f41c7;
/* rgb */ color: rgb(63, 65, 199);
/* oklch */ color: oklch(46.5% 0.202 274.5);
Tailwind
colors: {
  custom: {
    50: '#8676d9',
    500: '#3f41c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c7;
$custom-light: #8676d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c7",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 239.118,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.20222,
    "h": 274.5
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#3F41C7
secondary
#CFCE93
accent
#DC4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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