#3F2EC1#3F2EC1

#3F2EC1 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.214 H 277.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3F2EC1
RGBrgb(63, 46, 193)
HSLhsl(247, 62%, 47%)
HSVhsv(247, 76%, 76%)
CMYKcmyk(67.4%, 76.2%, 0%, 24.3%)
CIE-LABlab(31.49, 50.60, -73.55)
CIE-LCHlch(31.49, 89.27, 304.53°)
OKLaboklab(43.15% 0.0286 -0.2125)
OKLCHoklch(43.15% 0.214 277.7)
XYZxyz(12.6494, 6.8599, 51.0992)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EC1 #B0C12E
analogous
#2E67C1 #3F2EC1 #892EC1
triadic
#3F2EC1 #C13F2E #2EC13F
tetradic
#3F2EC1 #C12E67 #B0C12E #2EC189
square
#3F2EC1 #C12E67 #B0C12E #2EC189
split-complementary
#3F2EC1 #C1892E #67C12E
monochromatic
#1F165E #2F2290 #3F2EC1 #6556D7 #9287E2

Accessibility & contrast

On white

8.85
#3F2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3F2EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EC1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EC1#FFFFFF#000000##FFFFFF
##3F2EC11.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f2ec1;
/* rgb */ color: rgb(63, 46, 193);
/* oklch */ color: oklch(43.2% 0.214 277.7);
Tailwind
colors: {
  custom: {
    50: '#866ad5',
    500: '#3f2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ec1;
$custom-light: #866ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ec1",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 246.939,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.21441,
    "h": 277.7
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#3F2EC1
secondary
#C3CC7F
accent
#E543D2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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