#3F41B3#3F41B3

#3F41B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.176 H 275.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3F41B3
RGBrgb(63, 65, 179)
HSLhsl(239, 48%, 47%)
HSVhsv(239, 65%, 70%)
CMYKcmyk(64.8%, 63.7%, 0%, 29.8%)
CIE-LABlab(34.17, 35.09, -60.87)
CIE-LCHlch(34.17, 70.26, 299.96°)
OKLaboklab(44.69% 0.0179 -0.1754)
OKLCHoklch(44.69% 0.176 275.8)
XYZxyz(12.0742, 8.0910, 43.5645)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41B3 #B3B13F
analogous
#3F7BB3 #3F41B3 #773FB3
triadic
#3F41B3 #B33F41 #41B33F
tetradic
#3F41B3 #B33F7B #B3B13F #3FB377
square
#3F41B3 #B33F7B #B3B13F #3FB377
split-complementary
#3F41B3 #B3773F #7BB33F
monochromatic
#1F2058 #2F3186 #3F41B3 #6668C9 #9395D9

Accessibility & contrast

On white

8.02
#3F41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41B3#FFFFFF#000000##FFFFFF
##3F41B31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f41b3;
/* rgb */ color: rgb(63, 65, 179);
/* oklch */ color: oklch(44.7% 0.176 275.8);
Tailwind
colors: {
  custom: {
    50: '#8276cb',
    500: '#3f41b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f41b3;
$custom-light: #8276cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41b3",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 238.966,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.17636,
    "h": 275.8
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#3F41B3
secondary
#C4C389
accent
#D550D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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