#3F2CA1#3F2CA1

#3F2CA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.178 H 282.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA1
RGBrgb(63, 44, 161)
HSLhsl(250, 57%, 40%)
HSVhsv(250, 73%, 63%)
CMYKcmyk(60.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.93, 41.73, -60.30)
CIE-LCHlch(27.93, 73.33, 304.68°)
OKLaboklab(39.68% 0.0371 -0.1738)
OKLCHoklch(39.68% 0.178 282)
XYZxyz(9.3816, 5.4307, 34.2652)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA1 #8EA12C
analogous
#2C53A1 #3F2CA1 #7A2CA1
triadic
#3F2CA1 #A13F2C #2CA13F
tetradic
#3F2CA1 #A12C53 #8EA12C #2CA17A
square
#3F2CA1 #A12C53 #8EA12C #2CA17A
split-complementary
#3F2CA1 #A17A2C #53A12C
monochromatic
#191241 #2C1F71 #3F2CA1 #5640CB #8170D8

Accessibility & contrast

On white

10.07
#3F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA1#FFFFFF#000000##FFFFFF
##3F2CA11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ca1;
/* rgb */ color: rgb(63, 44, 161);
/* oklch */ color: oklch(39.7% 0.178 282.0);
Tailwind
colors: {
  custom: {
    50: '#8067be',
    500: '#3f2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca1;
$custom-light: #8067be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca1",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 249.744,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.17772,
    "h": 282
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#3F2CA1
secondary
#B1BF6A
accent
#E047C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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