#3F2EC2#3F2EC2

#3F2EC2 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.216 H 277.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3F2EC2
RGBrgb(63, 46, 194)
HSLhsl(247, 62%, 47%)
HSVhsv(247, 76%, 76%)
CMYKcmyk(67.5%, 76.3%, 0%, 23.9%)
CIE-LABlab(31.59, 50.90, -73.97)
CIE-LCHlch(31.59, 89.79, 304.54°)
OKLaboklab(43.26% 0.0284 -0.2137)
OKLCHoklch(43.26% 0.216 277.6)
XYZxyz(12.7613, 6.9047, 51.6887)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EC2 #B1C22E
analogous
#2E67C2 #3F2EC2 #892EC2
triadic
#3F2EC2 #C23F2E #2EC23F
tetradic
#3F2EC2 #C22E67 #B1C22E #2EC289
square
#3F2EC2 #C22E67 #B1C22E #2EC289
split-complementary
#3F2EC2 #C2892E #67C22E
monochromatic
#1F175F #2F2291 #3F2EC2 #6556D7 #9288E3

Accessibility & contrast

On white

8.82
#3F2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F2EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EC2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EC2#FFFFFF#000000##FFFFFF
##3F2EC21.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0044BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f2ec2;
/* rgb */ color: rgb(63, 46, 194);
/* oklch */ color: oklch(43.3% 0.216 277.6);
Tailwind
colors: {
  custom: {
    50: '#866ad6',
    500: '#3f2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ec2;
$custom-light: #866ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ec2",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 246.892,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.21558,
    "h": 277.6
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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