#3F41B0#3F41B0

#3F41B0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.172 H 276.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3F41B0
RGBrgb(63, 65, 176)
HSLhsl(239, 47%, 47%)
HSVhsv(239, 64%, 69%)
CMYKcmyk(64.2%, 63.1%, 0%, 31%)
CIE-LABlab(33.92, 34.07, -59.50)
CIE-LCHlch(33.92, 68.56, 299.79°)
OKLaboklab(44.43% 0.0181 -0.1714)
OKLCHoklch(44.43% 0.172 276)
XYZxyz(11.7741, 7.9710, 41.9840)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41B0 #B0AE3F
analogous
#3F7AB0 #3F41B0 #763FB0
triadic
#3F41B0 #B03F41 #41B03F
tetradic
#3F41B0 #B03F7A #B0AE3F #3FB076
square
#3F41B0 #B03F7A #B0AE3F #3FB076
split-complementary
#3F41B0 #B0763F #7AB03F
monochromatic
#1F2056 #2F3083 #3F41B0 #6566C8 #9293D8

Accessibility & contrast

On white

8.09
#3F41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41B0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41B0#FFFFFF#000000##FFFFFF
##3F41B01.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f41b0;
/* rgb */ color: rgb(63, 65, 176);
/* oklch */ color: oklch(44.4% 0.172 276.0);
Tailwind
colors: {
  custom: {
    50: '#8176c8',
    500: '#3f41b0',
    950: '#000000',
  },
}
SCSS
$custom: #3f41b0;
$custom-light: #8176c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41b0",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 238.938,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.17237,
    "h": 276
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#3F41B0
secondary
#C3C288
accent
#D551D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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