#3F41AE#3F41AE

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

Color values

HEX#3F41AE
RGBrgb(63, 65, 174)
HSLhsl(239, 47%, 46%)
HSVhsv(239, 64%, 68%)
CMYKcmyk(63.8%, 62.6%, 0%, 31.8%)
CIE-LABlab(33.76, 33.38, -58.57)
CIE-LCHlch(33.76, 67.42, 299.68°)
OKLaboklab(44.25% 0.0182 -0.1687)
OKLCHoklch(44.25% 0.17 276.2)
XYZxyz(11.5777, 7.8924, 40.9495)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41AE #AEAC3F
analogous
#3F79AE #3F41AE #753FAE
triadic
#3F41AE #AE3F41 #41AE3F
tetradic
#3F41AE #AE3F79 #AEAC3F #3FAE75
square
#3F41AE #AE3F79 #AEAC3F #3FAE75
split-complementary
#3F41AE #AE753F #79AE3F
monochromatic
#1E1F54 #2F3081 #3F41AE #6465C7 #9092D7

Accessibility & contrast

On white

8.14
#3F41AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F41AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41AE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41AE#FFFFFF#000000##FFFFFF
##3F41AE1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f41ae;
/* rgb */ color: rgb(63, 65, 174);
/* oklch */ color: oklch(44.3% 0.170 276.2);
Tailwind
colors: {
  custom: {
    50: '#8176c7',
    500: '#3f41ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f41ae;
$custom-light: #8176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41ae",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 238.919,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.16969,
    "h": 276.2
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#3F41AE
secondary
#C2C187
accent
#D451D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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