#3F41B4#3F41B4

#3F41B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.178 H 275.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3F41B4
RGBrgb(63, 65, 180)
HSLhsl(239, 48%, 48%)
HSVhsv(239, 65%, 71%)
CMYKcmyk(65%, 63.9%, 0%, 29.4%)
CIE-LABlab(34.26, 35.43, -61.33)
CIE-LCHlch(34.26, 70.83, 300.02°)
OKLaboklab(44.77% 0.0178 -0.1768)
OKLCHoklch(44.77% 0.178 275.7)
XYZxyz(12.1757, 8.1316, 44.0991)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41B4 #B4B23F
analogous
#3F7CB4 #3F41B4 #773FB4
triadic
#3F41B4 #B43F41 #41B43F
tetradic
#3F41B4 #B43F7C #B4B23F #3FB477
square
#3F41B4 #B43F7C #B4B23F #3FB477
split-complementary
#3F41B4 #B4773F #7CB43F
monochromatic
#1F2059 #2F3187 #3F41B4 #6768CA #9495DA

Accessibility & contrast

On white

8.00
#3F41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41B4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41B4#FFFFFF#000000##FFFFFF
##3F41B41.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f41b4;
/* rgb */ color: rgb(63, 65, 180);
/* oklch */ color: oklch(44.8% 0.178 275.7);
Tailwind
colors: {
  custom: {
    50: '#8276cb',
    500: '#3f41b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f41b4;
$custom-light: #8276cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41b4",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 238.974,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44773,
    "c": 0.17768,
    "h": 275.7
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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