#3F41C5#3F41C5

#3F41C5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.200 H 274.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3F41C5
RGBrgb(63, 65, 197)
HSLhsl(239, 54%, 51%)
HSVhsv(239, 68%, 77%)
CMYKcmyk(68%, 67%, 0%, 22.7%)
CIE-LABlab(35.73, 41.19, -68.91)
CIE-LCHlch(35.73, 80.29, 300.87°)
OKLaboklab(46.3% 0.0163 -0.199)
OKLCHoklch(46.3% 0.2 274.7)
XYZxyz(14.0149, 8.8673, 53.7855)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C5 #C5C33F
analogous
#3F84C5 #3F41C5 #803FC5
triadic
#3F41C5 #C53F41 #41C53F
tetradic
#3F41C5 #C53F84 #C5C33F #3FC580
square
#3F41C5 #C53F84 #C5C33F #3FC580
split-complementary
#3F41C5 #C5803F #84C53F
monochromatic
#20216A #2E3099 #3F41C5 #6E70D3 #9D9EE1

Accessibility & contrast

On white

7.57
#3F41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C5#FFFFFF#000000##FFFFFF
##3F41C51.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f41c5;
/* rgb */ color: rgb(63, 65, 197);
/* oklch */ color: oklch(46.3% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#8576d8',
    500: '#3f41c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c5;
$custom-light: #8576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c5",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 239.104,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46298,
    "c": 0.19969,
    "h": 274.7
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#3F41C5
secondary
#CECD92
accent
#DB4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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