#3F2FC1#3F2FC1

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

Color values

HEX#3F2FC1
RGBrgb(63, 47, 193)
HSLhsl(247, 61%, 47%)
HSVhsv(247, 76%, 76%)
CMYKcmyk(67.4%, 75.6%, 0%, 24.3%)
CIE-LABlab(31.67, 50.08, -73.25)
CIE-LCHlch(31.67, 88.73, 304.36°)
OKLaboklab(43.28% 0.0281 -0.2116)
OKLCHoklch(43.28% 0.213 277.6)
XYZxyz(12.6889, 6.9389, 51.1124)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FC1 #B1C12F
analogous
#2F68C1 #3F2FC1 #882FC1
triadic
#3F2FC1 #C13F2F #2FC13F
tetradic
#3F2FC1 #C12F68 #B1C12F #2FC188
square
#3F2FC1 #C12F68 #B1C12F #2FC188
split-complementary
#3F2FC1 #C1882F #68C12F
monochromatic
#1F175F #2F2390 #3F2FC1 #6557D6 #9288E2

Accessibility & contrast

On white

8.79
#3F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FC1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FC1#FFFFFF#000000##FFFFFF
##3F2FC11.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2fc1;
/* rgb */ color: rgb(63, 47, 193);
/* oklch */ color: oklch(43.3% 0.213 277.6);
Tailwind
colors: {
  custom: {
    50: '#866bd5',
    500: '#3f2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fc1;
$custom-light: #866bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fc1",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 246.575,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.21348,
    "h": 277.6
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#3F2FC1
secondary
#C4CC80
accent
#E444D2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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