#3F41D7#3F41D7

#3F41D7 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.222 H 273.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3F41D7
RGBrgb(63, 65, 215)
HSLhsl(239, 66%, 55%)
HSVhsv(239, 71%, 84%)
CMYKcmyk(70.7%, 69.8%, 0%, 15.7%)
CIE-LABlab(37.38, 47.17, -76.64)
CIE-LCHlch(37.38, 89.99, 301.61°)
OKLaboklab(47.99% 0.014 -0.2216)
OKLCHoklch(47.99% 0.222 273.6)
XYZxyz(16.2018, 9.7421, 65.3034)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41D7 #D7D53F
analogous
#3F8DD7 #3F41D7 #893FD7
triadic
#3F41D7 #D73F41 #41D73F
tetradic
#3F41D7 #D73F8D #D7D53F #3FD789
square
#3F41D7 #D73F8D #D7D53F #3FD789
split-complementary
#3F41D7 #D7893F #8DD73F
monochromatic
#1B1C81 #2527B3 #3F41D7 #7273E2 #A4A5EC

Accessibility & contrast

On white

7.12
#3F41D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3F41D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41D7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41D7#FFFFFF#000000##FFFFFF
##3F41D71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDC
Deuteranopia (green-blind)
#0051D4
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f41d7;
/* rgb */ color: rgb(63, 65, 215);
/* oklch */ color: oklch(48.0% 0.222 273.6);
Tailwind
colors: {
  custom: {
    50: '#8977e5',
    500: '#3f41d7',
    950: '#000000',
  },
}
SCSS
$custom: #3f41d7;
$custom-light: #8977e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41d7",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 239.211,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.22204,
    "h": 273.6
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#3F41D7
secondary
#D9D899
accent
#E63FE8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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