#3F2AC1#3F2AC1

#3F2AC1 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.218 H 278.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3F2AC1
RGBrgb(63, 42, 193)
HSLhsl(248, 64%, 46%)
HSVhsv(248, 78%, 76%)
CMYKcmyk(67.4%, 78.2%, 0%, 24.3%)
CIE-LABlab(30.79, 52.60, -74.70)
CIE-LCHlch(30.79, 91.36, 305.15°)
OKLaboklab(42.67% 0.0307 -0.2158)
OKLCHoklch(42.67% 0.218 278.1)
XYZxyz(12.5004, 6.5619, 51.0495)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AC1 #ACC12A
analogous
#2A61C1 #3F2AC1 #8A2AC1
triadic
#3F2AC1 #C13F2A #2AC13F
tetradic
#3F2AC1 #C12A61 #ACC12A #2AC18A
square
#3F2AC1 #C12A61 #ACC12A #2AC18A
split-complementary
#3F2AC1 #C18A2A #61C12A
monochromatic
#1E145C #2F1F8F #3F2AC1 #634FD9 #8F82E4

Accessibility & contrast

On white

9.08
#3F2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3F2AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AC1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AC1#FFFFFF#000000##FFFFFF
##3F2AC11.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#0042BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2ac1;
/* rgb */ color: rgb(63, 42, 193);
/* oklch */ color: oklch(42.7% 0.218 278.1);
Tailwind
colors: {
  custom: {
    50: '#8668d5',
    500: '#3f2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ac1;
$custom-light: #8668d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ac1",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 248.344,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.21798,
    "h": 278.1
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#3F2AC1
secondary
#C1CD7A
accent
#E741D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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