#3F2AAA#3F2AAA

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

Color values

HEX#3F2AAA
RGBrgb(63, 42, 170)
HSLhsl(250, 60%, 42%)
HSVhsv(250, 75%, 67%)
CMYKcmyk(62.9%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.42, 45.62, -64.93)
CIE-LCHlch(28.42, 79.35, 305.09°)
OKLaboklab(40.3% 0.0365 -0.1873)
OKLCHoklch(40.3% 0.191 281)
XYZxyz(10.1313, 5.6142, 38.5722)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AAA #95AA2A
analogous
#2A55AA #3F2AAA #7F2AAA
triadic
#3F2AAA #AA3F2A #2AAA3F
tetradic
#3F2AAA #AA2A55 #95AA2A #2AAA7F
square
#3F2AAA #AA2A55 #95AA2A #2AAA7F
split-complementary
#3F2AAA #AA7F2A #55AA2A
monochromatic
#1B1248 #2D1E79 #3F2AAA #5941D0 #8472DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2AAA#FFFFFF#000000##FFFFFF
##3F2AAA1.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)
#0047AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2aaa;
/* rgb */ color: rgb(63, 42, 170);
/* oklch */ color: oklch(40.3% 0.191 281.0);
Tailwind
colors: {
  custom: {
    50: '#8266c4',
    500: '#3f2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aaa;
$custom-light: #8266c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aaa",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 249.844,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.19084,
    "h": 281
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#3F2AAA
secondary
#B5C36C
accent
#E444C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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