#3F41D6#3F41D6

#3F41D6 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.221 H 273.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3F41D6
RGBrgb(63, 65, 214)
HSLhsl(239, 65%, 54%)
HSVhsv(239, 71%, 84%)
CMYKcmyk(70.6%, 69.6%, 0%, 16.1%)
CIE-LABlab(37.28, 46.84, -76.22)
CIE-LCHlch(37.28, 89.46, 301.57°)
OKLaboklab(47.89% 0.0141 -0.2204)
OKLCHoklch(47.89% 0.221 273.7)
XYZxyz(16.0737, 9.6908, 64.6287)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41D6 #D6D43F
analogous
#3F8DD6 #3F41D6 #883FD6
triadic
#3F41D6 #D63F41 #41D63F
tetradic
#3F41D6 #D63F8D #D6D43F #3FD688
square
#3F41D6 #D63F8D #D6D43F #3FD688
split-complementary
#3F41D6 #D6883F #8DD63F
monochromatic
#1B1D7F #2628B2 #3F41D6 #7173E1 #A4A5EC

Accessibility & contrast

On white

7.15
#3F41D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3F41D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41D6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41D6#FFFFFF#000000##FFFFFF
##3F41D61.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0051D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f41d6;
/* rgb */ color: rgb(63, 65, 214);
/* oklch */ color: oklch(47.9% 0.221 273.7);
Tailwind
colors: {
  custom: {
    50: '#8977e4',
    500: '#3f41d6',
    950: '#000000',
  },
}
SCSS
$custom: #3f41d6;
$custom-light: #8977e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41d6",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 239.205,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.22082,
    "h": 273.7
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#3F41D6
secondary
#D8D898
accent
#E640E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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