#3F2AB4#3F2AB4

#3F2AB4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.203 H 279.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3F2AB4
RGBrgb(63, 42, 180)
HSLhsl(249, 62%, 44%)
HSVhsv(249, 77%, 71%)
CMYKcmyk(65%, 76.7%, 0%, 29.4%)
CIE-LABlab(29.43, 48.68, -69.25)
CIE-LCHlch(29.43, 84.65, 305.10°)
OKLaboklab(41.31% 0.034 -0.1999)
OKLCHoklch(41.31% 0.203 279.7)
XYZxyz(11.1135, 6.0071, 43.7450)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AB4 #9FB42A
analogous
#2A5AB4 #3F2AB4 #842AB4
triadic
#3F2AB4 #B43F2A #2AB43F
tetradic
#3F2AB4 #B42A5A #9FB42A #2AB484
square
#3F2AB4 #B42A5A #9FB42A #2AB484
split-complementary
#3F2AB4 #B4842A #5AB42A
monochromatic
#1C1351 #2E1E82 #3F2AB4 #5D47D4 #8879E0

Accessibility & contrast

On white

9.54
#3F2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AB4
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AB4#FFFFFF#000000##FFFFFF
##3F2AB41.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2ab4;
/* rgb */ color: rgb(63, 42, 180);
/* oklch */ color: oklch(41.3% 0.203 279.7);
Tailwind
colors: {
  custom: {
    50: '#8467cc',
    500: '#3f2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ab4;
$custom-light: #8467cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ab4",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 249.13,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.2028,
    "h": 279.7
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#3F2AB4
secondary
#BBC872
accent
#E543CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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