#3F2AAB#3F2AAB

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

Color values

HEX#3F2AAB
RGBrgb(63, 42, 171)
HSLhsl(250, 61%, 42%)
HSVhsv(250, 75%, 67%)
CMYKcmyk(63.2%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.52, 45.92, -65.37)
CIE-LCHlch(28.52, 79.89, 305.09°)
OKLaboklab(40.4% 0.0363 -0.1886)
OKLCHoklch(40.4% 0.192 280.9)
XYZxyz(10.2262, 5.6522, 39.0723)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AAB #96AB2A
analogous
#2A56AB #3F2AAB #7F2AAB
triadic
#3F2AAB #AB3F2A #2AAB3F
tetradic
#3F2AAB #AB2A56 #96AB2A #2AAB7F
square
#3F2AAB #AB2A56 #96AB2A #2AAB7F
split-complementary
#3F2AAB #AB7F2A #56AB2A
monochromatic
#1B1249 #2D1E7A #3F2AAB #5942D1 #8473DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2AAB#FFFFFF#000000##FFFFFF
##3F2AAB1.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)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2aab;
/* rgb */ color: rgb(63, 42, 171);
/* oklch */ color: oklch(40.4% 0.192 280.9);
Tailwind
colors: {
  custom: {
    50: '#8267c5',
    500: '#3f2aab',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aab;
$custom-light: #8267c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aab",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 249.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.19206,
    "h": 280.9
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#3F2AAB
secondary
#B6C46D
accent
#E444CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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