#3F3EAE#3F3EAE

#3F3EAE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.173 H 276.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3F3EAE
RGBrgb(63, 62, 174)
HSLhsl(241, 47%, 46%)
HSVhsv(241, 64%, 68%)
CMYKcmyk(63.8%, 64.4%, 0%, 31.8%)
CIE-LABlab(33.04, 35.26, -59.74)
CIE-LCHlch(33.04, 69.37, 300.55°)
OKLaboklab(43.73% 0.0207 -0.1721)
OKLCHoklch(43.73% 0.173 276.9)
XYZxyz(11.4100, 7.5571, 40.8936)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EAE #ADAE3E
analogous
#3E75AE #3F3EAE #773EAE
triadic
#3F3EAE #AE3F3E #3EAE3F
tetradic
#3F3EAE #AE3E75 #ADAE3E #3EAE77
square
#3F3EAE #AE3E75 #ADAE3E #3EAE77
split-complementary
#3F3EAE #AE773E #75AE3E
monochromatic
#1E1E54 #2F2E81 #3F3EAE #6362C7 #908FD7

Accessibility & contrast

On white

8.36
#3F3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EAE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EAE#FFFFFF#000000##FFFFFF
##3F3EAE1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3eae;
/* rgb */ color: rgb(63, 62, 174);
/* oklch */ color: oklch(43.7% 0.173 276.9);
Tailwind
colors: {
  custom: {
    50: '#8174c7',
    500: '#3f3eae',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eae;
$custom-light: #8174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eae",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 240.536,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.17339,
    "h": 276.9
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#3F3EAE
secondary
#C2C286
accent
#D751D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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