#3F2EC4#3F2EC4

#3F2EC4 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.218 H 277.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3F2EC4
RGBrgb(63, 46, 196)
HSLhsl(247, 62%, 47%)
HSVhsv(247, 77%, 77%)
CMYKcmyk(67.9%, 76.5%, 0%, 23.1%)
CIE-LABlab(31.80, 51.52, -74.80)
CIE-LCHlch(31.80, 90.82, 304.56°)
OKLaboklab(43.46% 0.0279 -0.2161)
OKLCHoklch(43.46% 0.218 277.4)
XYZxyz(12.9875, 6.9951, 52.8796)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EC4 #B3C42E
analogous
#2E68C4 #3F2EC4 #8A2EC4
triadic
#3F2EC4 #C43F2E #2EC43F
tetradic
#3F2EC4 #C42E68 #B3C42E #2EC48A
square
#3F2EC4 #C42E68 #B3C42E #2EC48A
split-complementary
#3F2EC4 #C48A2E #68C42E
monochromatic
#1F1761 #2F2292 #3F2EC4 #6658D8 #9389E3

Accessibility & contrast

On white

8.75
#3F2EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F2EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EC4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EC4#FFFFFF#000000##FFFFFF
##3F2EC41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f2ec4;
/* rgb */ color: rgb(63, 46, 196);
/* oklch */ color: oklch(43.5% 0.218 277.4);
Tailwind
colors: {
  custom: {
    50: '#876ad7',
    500: '#3f2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ec4;
$custom-light: #876ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ec4",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 246.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.21792,
    "h": 277.4
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#3F2EC4
secondary
#C4CD81
accent
#E543D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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