#3F2FC4#3F2FC4

#3F2FC4 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.217 H 277.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3F2FC4
RGBrgb(63, 47, 196)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(67.9%, 76%, 0%, 23.1%)
CIE-LABlab(31.98, 51.00, -74.50)
CIE-LCHlch(31.98, 90.29, 304.39°)
OKLaboklab(43.59% 0.0274 -0.2153)
OKLCHoklch(43.59% 0.217 277.2)
XYZxyz(13.0270, 7.0742, 52.8928)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FC4 #B4C42F
analogous
#2F69C4 #3F2FC4 #892FC4
triadic
#3F2FC4 #C43F2F #2FC43F
tetradic
#3F2FC4 #C42F69 #B4C42F #2FC489
square
#3F2FC4 #C42F69 #B4C42F #2FC489
split-complementary
#3F2FC4 #C4892F #69C42F
monochromatic
#1F1761 #2F2393 #3F2FC4 #6759D7 #948AE3

Accessibility & contrast

On white

8.70
#3F2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F2FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FC4
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FC4#FFFFFF#000000##FFFFFF
##3F2FC41.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2fc4;
/* rgb */ color: rgb(63, 47, 196);
/* oklch */ color: oklch(43.6% 0.217 277.2);
Tailwind
colors: {
  custom: {
    50: '#876bd7',
    500: '#3f2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fc4;
$custom-light: #876bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fc4",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 246.443,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4359,
    "c": 0.21701,
    "h": 277.2
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#3F2FC4
secondary
#C5CD82
accent
#E443D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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