#3F2DA7#3F2DA7

#3F2DA7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.184 H 281.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2DA7
RGBrgb(63, 45, 167)
HSLhsl(249, 58%, 42%)
HSVhsv(249, 73%, 65%)
CMYKcmyk(62.3%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.70, 43.05, -62.66)
CIE-LCHlch(28.70, 76.02, 304.49°)
OKLaboklab(40.41% 0.0351 -0.1807)
OKLCHoklch(40.41% 0.184 281)
XYZxyz(9.9611, 5.7228, 37.1314)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DA7 #95A72D
analogous
#2D58A7 #3F2DA7 #7C2DA7
triadic
#3F2DA7 #A73F2D #2DA73F
tetradic
#3F2DA7 #A72D58 #95A72D #2DA77C
square
#3F2DA7 #A72D58 #95A72D #2DA77C
split-complementary
#3F2DA7 #A77C2D #58A72D
monochromatic
#1B1347 #2D2077 #3F2DA7 #5944CD #8475DA

Accessibility & contrast

On white

9.79
#3F2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F2DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DA7
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DA7#FFFFFF#000000##FFFFFF
##3F2DA71.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2da7;
/* rgb */ color: rgb(63, 45, 167);
/* oklch */ color: oklch(40.4% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#8168c2',
    500: '#3f2da7',
    950: '#000000',
  },
}
SCSS
$custom: #3f2da7;
$custom-light: #8168c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2da7",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 248.852,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.18408,
    "h": 281
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#3F2DA7
secondary
#B5C16E
accent
#E147CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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