#3F2CB2#3F2CB2

#3F2CB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.198 H 279.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3F2CB2
RGBrgb(63, 44, 178)
HSLhsl(249, 60%, 44%)
HSVhsv(249, 75%, 70%)
CMYKcmyk(64.6%, 75.3%, 0%, 30.2%)
CIE-LABlab(29.59, 47.02, -67.79)
CIE-LCHlch(29.59, 82.50, 304.75°)
OKLaboklab(41.37% 0.0333 -0.1957)
OKLCHoklch(41.37% 0.198 279.7)
XYZxyz(10.9839, 6.0716, 42.7040)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CB2 #9FB22C
analogous
#2C5CB2 #3F2CB2 #822CB2
triadic
#3F2CB2 #B23F2C #2CB23F
tetradic
#3F2CB2 #B22C5C #9FB22C #2CB282
square
#3F2CB2 #B22C5C #9FB22C #2CB282
split-complementary
#3F2CB2 #B2822C #5CB22C
monochromatic
#1C1450 #2E2081 #3F2CB2 #5D49D2 #887ADE

Accessibility & contrast

On white

9.48
#3F2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CB2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CB2#FFFFFF#000000##FFFFFF
##3F2CB21.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2cb2;
/* rgb */ color: rgb(63, 44, 178);
/* oklch */ color: oklch(41.4% 0.198 279.7);
Tailwind
colors: {
  custom: {
    50: '#8368ca',
    500: '#3f2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cb2;
$custom-light: #8368ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cb2",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 248.507,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.19849,
    "h": 279.7
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#3F2CB2
secondary
#BBC673
accent
#E444CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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