#3F2CA4#3F2CA4

#3F2CA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.181 H 281.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA4
RGBrgb(63, 44, 164)
HSLhsl(250, 58%, 41%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(61.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.22, 42.67, -61.65)
CIE-LCHlch(28.22, 74.97, 304.69°)
OKLaboklab(39.98% 0.0365 -0.1777)
OKLCHoklch(39.98% 0.181 281.6)
XYZxyz(9.6493, 5.5378, 35.6752)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA4 #91A42C
analogous
#2C55A4 #3F2CA4 #7B2CA4
triadic
#3F2CA4 #A43F2C #2CA43F
tetradic
#3F2CA4 #A42C55 #91A42C #2CA47B
square
#3F2CA4 #A42C55 #91A42C #2CA47B
split-complementary
#3F2CA4 #A47B2C #55A42C
monochromatic
#1A1243 #2C1F74 #3F2CA4 #5741CC #8271D9

Accessibility & contrast

On white

9.96
#3F2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA4
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA4#FFFFFF#000000##FFFFFF
##3F2CA41.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ca4;
/* rgb */ color: rgb(63, 44, 164);
/* oklch */ color: oklch(40.0% 0.181 281.6);
Tailwind
colors: {
  custom: {
    50: '#8067c0',
    500: '#3f2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca4;
$custom-light: #8067c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca4",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 249.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.18143,
    "h": 281.6
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#3F2CA4
secondary
#B3C06B
accent
#E147C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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