#3F41B7#3F41B7

#3F41B7 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.182 H 275.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3F41B7
RGBrgb(63, 65, 183)
HSLhsl(239, 49%, 48%)
HSVhsv(239, 66%, 72%)
CMYKcmyk(65.6%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.51, 36.45, -62.69)
CIE-LCHlch(34.51, 72.52, 300.18°)
OKLaboklab(45.04% 0.0176 -0.1808)
OKLCHoklch(45.04% 0.182 275.6)
XYZxyz(12.4846, 8.2552, 45.7261)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41B7 #B7B53F
analogous
#3F7DB7 #3F41B7 #793FB7
triadic
#3F41B7 #B73F41 #41B73F
tetradic
#3F41B7 #B73F7D #B7B53F #3FB779
square
#3F41B7 #B73F7D #B7B53F #3FB779
split-complementary
#3F41B7 #B7793F #7DB73F
monochromatic
#20215C #2F3189 #3F41B7 #686ACB #9697DB

Accessibility & contrast

On white

7.92
#3F41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41B7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41B7#FFFFFF#000000##FFFFFF
##3F41B71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f41b7;
/* rgb */ color: rgb(63, 65, 183);
/* oklch */ color: oklch(45.0% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#8276ce',
    500: '#3f41b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f41b7;
$custom-light: #8276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41b7",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 239,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.18163,
    "h": 275.6
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#3F41B7
secondary
#C6C58B
accent
#D64FD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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