#3F41AF#3F41AF

#3F41AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.171 H 276.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3F41AF
RGBrgb(63, 65, 175)
HSLhsl(239, 47%, 47%)
HSVhsv(239, 64%, 69%)
CMYKcmyk(64%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.84, 33.72, -59.04)
CIE-LCHlch(33.84, 67.99, 299.74°)
OKLaboklab(44.34% 0.0181 -0.1701)
OKLCHoklch(44.34% 0.171 276.1)
XYZxyz(11.6755, 7.9315, 41.4648)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41AF #AFAD3F
analogous
#3F79AF #3F41AF #753FAF
triadic
#3F41AF #AF3F41 #41AF3F
tetradic
#3F41AF #AF3F79 #AFAD3F #3FAF75
square
#3F41AF #AF3F79 #AFAD3F #3FAF75
split-complementary
#3F41AF #AF753F #79AF3F
monochromatic
#1F2055 #2F3082 #3F41AF #6466C7 #9192D7

Accessibility & contrast

On white

8.12
#3F41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F41AF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41AF#FFFFFF#000000##FFFFFF
##3F41AF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f41af;
/* rgb */ color: rgb(63, 65, 175);
/* oklch */ color: oklch(44.3% 0.171 276.1);
Tailwind
colors: {
  custom: {
    50: '#8176c8',
    500: '#3f41af',
    950: '#000000',
  },
}
SCSS
$custom: #3f41af;
$custom-light: #8176c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41af",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 238.929,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.17103,
    "h": 276.1
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#3F41AF
secondary
#C3C287
accent
#D451D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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