#3F41BB#3F41BB

#3F41BB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.187 H 275.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3F41BB
RGBrgb(63, 65, 187)
HSLhsl(239, 50%, 49%)
HSVhsv(239, 66%, 73%)
CMYKcmyk(66.3%, 65.2%, 0%, 26.7%)
CIE-LABlab(34.85, 37.81, -64.49)
CIE-LCHlch(34.85, 74.76, 300.39°)
OKLaboklab(45.39% 0.0172 -0.1861)
OKLCHoklch(45.39% 0.187 275.3)
XYZxyz(12.9069, 8.4241, 47.9499)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41BB #BBB93F
analogous
#3F7FBB #3F41BB #7B3FBB
triadic
#3F41BB #BB3F41 #41BB3F
tetradic
#3F41BB #BB3F7F #BBB93F #3FBB7B
square
#3F41BB #BB3F7F #BBB93F #3FBB7B
split-complementary
#3F41BB #BB7B3F #7FBB3F
monochromatic
#20215F #30318D #3F41BB #6A6CCD #9899DC

Accessibility & contrast

On white

7.82
#3F41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41BB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41BB#FFFFFF#000000##FFFFFF
##3F41BB1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f41bb;
/* rgb */ color: rgb(63, 65, 187);
/* oklch */ color: oklch(45.4% 0.187 275.3);
Tailwind
colors: {
  custom: {
    50: '#8376d0',
    500: '#3f41bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f41bb;
$custom-light: #8376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41bb",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 239.032,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.18686,
    "h": 275.3
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#3F41BB
secondary
#C8C78E
accent
#D74FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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