#3F42AE#3F42AE

#3F42AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.168 H 275.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3F42AE
RGBrgb(63, 66, 174)
HSLhsl(238, 47%, 46%)
HSVhsv(238, 64%, 68%)
CMYKcmyk(63.8%, 62.1%, 0%, 31.8%)
CIE-LABlab(34.00, 32.75, -58.18)
CIE-LCHlch(34.00, 66.76, 299.38°)
OKLaboklab(44.43% 0.0173 -0.1675)
OKLCHoklch(44.43% 0.168 275.9)
XYZxyz(11.6356, 8.0082, 40.9688)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42AE #AEAB3F
analogous
#3F7AAE #3F42AE #743FAE
triadic
#3F42AE #AE3F42 #42AE3F
tetradic
#3F42AE #AE3F7A #AEAB3F #3FAE74
square
#3F42AE #AE3F7A #AEAB3F #3FAE74
split-complementary
#3F42AE #AE743F #7AAE3F
monochromatic
#1E2054 #2F3181 #3F42AE #6466C7 #9092D7

Accessibility & contrast

On white

8.07
#3F42AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3F42AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F42AE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42AE#FFFFFF#000000##FFFFFF
##3F42AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f42ae;
/* rgb */ color: rgb(63, 66, 174);
/* oklch */ color: oklch(44.4% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#8176c7',
    500: '#3f42ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f42ae;
$custom-light: #8176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42ae",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 238.378,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.16844,
    "h": 275.9
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#3F42AE
secondary
#C2C087
accent
#D351D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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