#3F2DA4#3F2DA4

#3F2DA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.180 H 281.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3F2DA4
RGBrgb(63, 45, 164)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 73%, 64%)
CMYKcmyk(61.6%, 72.6%, 0%, 35.7%)
CIE-LABlab(28.41, 42.11, -61.32)
CIE-LCHlch(28.41, 74.39, 304.48°)
OKLaboklab(40.12% 0.0357 -0.1768)
OKLCHoklch(40.12% 0.18 281.4)
XYZxyz(9.6870, 5.6132, 35.6877)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DA4 #92A42D
analogous
#2D56A4 #3F2DA4 #7A2DA4
triadic
#3F2DA4 #A43F2D #2DA43F
tetradic
#3F2DA4 #A42D56 #92A42D #2DA47A
square
#3F2DA4 #A42D56 #92A42D #2DA47A
split-complementary
#3F2DA4 #A47A2D #56A42D
monochromatic
#1A1344 #2D2074 #3F2DA4 #5743CB #8273D9

Accessibility & contrast

On white

9.89
#3F2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DA4
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DA4#FFFFFF#000000##FFFFFF
##3F2DA41.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2da4;
/* rgb */ color: rgb(63, 45, 164);
/* oklch */ color: oklch(40.1% 0.180 281.4);
Tailwind
colors: {
  custom: {
    50: '#8068c0',
    500: '#3f2da4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2da4;
$custom-light: #8068c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2da4",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 249.076,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.18035,
    "h": 281.4
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#3F2DA4
secondary
#B3C06D
accent
#E048C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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