#3F2AAC#3F2AAC

#3F2AAC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.193 H 280.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3F2AAC
RGBrgb(63, 42, 172)
HSLhsl(250, 61%, 42%)
HSVhsv(250, 76%, 67%)
CMYKcmyk(63.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(28.62, 46.23, -65.80)
CIE-LCHlch(28.62, 80.42, 305.09°)
OKLaboklab(40.5% 0.036 -0.1899)
OKLCHoklch(40.5% 0.193 280.7)
XYZxyz(10.3219, 5.6905, 39.5762)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AAC #97AC2A
analogous
#2A56AC #3F2AAC #802AAC
triadic
#3F2AAC #AC3F2A #2AAC3F
tetradic
#3F2AAC #AC2A56 #97AC2A #2AAC80
square
#3F2AAC #AC2A56 #97AC2A #2AAC80
split-complementary
#3F2AAC #AC802A #56AC2A
monochromatic
#1B124A #2D1E7B #3F2AAC #5942D1 #8573DD

Accessibility & contrast

On white

9.82
#3F2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2AAC
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AAC#FFFFFF#000000##FFFFFF
##3F2AAC1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2aac;
/* rgb */ color: rgb(63, 42, 172);
/* oklch */ color: oklch(40.5% 0.193 280.7);
Tailwind
colors: {
  custom: {
    50: '#8267c6',
    500: '#3f2aac',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aac;
$custom-light: #8267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aac",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 249.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.19326,
    "h": 280.7
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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