#3F2BAA#3F2BAA

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

Color values

HEX#3F2BAA
RGBrgb(63, 43, 170)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(62.9%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.61, 45.08, -64.62)
CIE-LCHlch(28.61, 78.79, 304.90°)
OKLaboklab(40.43% 0.0358 -0.1864)
OKLCHoklch(40.43% 0.19 280.9)
XYZxyz(10.1672, 5.6860, 38.5842)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BAA #96AA2B
analogous
#2B57AA #3F2BAA #7F2BAA
triadic
#3F2BAA #AA3F2B #2BAA3F
tetradic
#3F2BAA #AA2B57 #96AA2B #2BAA7F
square
#3F2BAA #AA2B57 #96AA2B #2BAA7F
split-complementary
#3F2BAA #AA7F2B #57AA2B
monochromatic
#1B1248 #2D1F79 #3F2BAA #5943CF #8474DC

Accessibility & contrast

On white

9.83
#3F2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2BAA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BAA#FFFFFF#000000##FFFFFF
##3F2BAA1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2baa;
/* rgb */ color: rgb(63, 43, 170);
/* oklch */ color: oklch(40.4% 0.190 280.9);
Tailwind
colors: {
  custom: {
    50: '#8267c4',
    500: '#3f2baa',
    950: '#000000',
  },
}
SCSS
$custom: #3f2baa;
$custom-light: #8267c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2baa",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 249.449,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.18984,
    "h": 280.9
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#3F2BAA
secondary
#B6C36E
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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