#3F2CA7#3F2CA7

#3F2CA7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.185 H 281.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA7
RGBrgb(63, 44, 167)
HSLhsl(249, 58%, 41%)
HSVhsv(249, 74%, 65%)
CMYKcmyk(62.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.50, 43.61, -62.98)
CIE-LCHlch(28.50, 76.60, 304.70°)
OKLaboklab(40.27% 0.0358 -0.1816)
OKLCHoklch(40.27% 0.185 281.2)
XYZxyz(9.9234, 5.6474, 37.1189)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA7 #94A72C
analogous
#2C57A7 #3F2CA7 #7D2CA7
triadic
#3F2CA7 #A73F2C #2CA73F
tetradic
#3F2CA7 #A72C57 #94A72C #2CA77D
square
#3F2CA7 #A72C57 #94A72C #2CA77D
split-complementary
#3F2CA7 #A77D2C #57A72C
monochromatic
#1A1246 #2D1F77 #3F2CA7 #5843CD #8373DA

Accessibility & contrast

On white

9.86
#3F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA7
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA7#FFFFFF#000000##FFFFFF
##3F2CA71.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ca7;
/* rgb */ color: rgb(63, 44, 167);
/* oklch */ color: oklch(40.3% 0.185 281.2);
Tailwind
colors: {
  custom: {
    50: '#8168c2',
    500: '#3f2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca7;
$custom-light: #8168c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca7",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 249.268,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.18514,
    "h": 281.2
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#3F2CA7
secondary
#B5C26D
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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