#3F3EAC#3F3EAC

#3F3EAC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.171 H 277.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3F3EAC
RGBrgb(63, 62, 172)
HSLhsl(241, 47%, 46%)
HSVhsv(241, 64%, 67%)
CMYKcmyk(63.4%, 64%, 0%, 32.5%)
CIE-LABlab(32.87, 34.58, -58.82)
CIE-LCHlch(32.87, 68.24, 300.45°)
OKLaboklab(43.56% 0.0209 -0.1695)
OKLCHoklch(43.56% 0.171 277)
XYZxyz(11.2165, 7.4797, 39.8744)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EAC #ABAC3E
analogous
#3E74AC #3F3EAC #763EAC
triadic
#3F3EAC #AC3F3E #3EAC3F
tetradic
#3F3EAC #AC3E74 #ABAC3E #3EAC76
square
#3F3EAC #AC3E74 #ABAC3E #3EAC76
split-complementary
#3F3EAC #AC763E #74AC3E
monochromatic
#1E1E52 #2F2E7F #3F3EAC #6261C6 #8F8ED6

Accessibility & contrast

On white

8.41
#3F3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EAC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EAC#FFFFFF#000000##FFFFFF
##3F3EAC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3eac;
/* rgb */ color: rgb(63, 62, 172);
/* oklch */ color: oklch(43.6% 0.171 277.0);
Tailwind
colors: {
  custom: {
    50: '#8073c6',
    500: '#3f3eac',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eac;
$custom-light: #8073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eac",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 240.545,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.17074,
    "h": 277
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#3F3EAC
secondary
#C1C185
accent
#D751D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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