#3F2AB1#3F2AB1

#3F2AB1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 41.0% C 0.199 H 280.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3F2AB1
RGBrgb(63, 42, 177)
HSLhsl(249, 62%, 43%)
HSVhsv(249, 76%, 69%)
CMYKcmyk(64.4%, 76.3%, 0%, 30.6%)
CIE-LABlab(29.12, 47.76, -67.97)
CIE-LCHlch(29.12, 83.07, 305.10°)
OKLaboklab(41.01% 0.0348 -0.1962)
OKLCHoklch(41.01% 0.199 280.1)
XYZxyz(10.8112, 5.8862, 42.1529)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AB1 #9CB12A
analogous
#2A59B1 #3F2AB1 #822AB1
triadic
#3F2AB1 #B13F2A #2AB13F
tetradic
#3F2AB1 #B12A59 #9CB12A #2AB182
square
#3F2AB1 #B12A59 #9CB12A #2AB182
split-complementary
#3F2AB1 #B1822A #59B12A
monochromatic
#1C134E #2D1E80 #3F2AB1 #5B45D3 #8777DF

Accessibility & contrast

On white

9.64
#3F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AB1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AB1#FFFFFF#000000##FFFFFF
##3F2AB11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2ab1;
/* rgb */ color: rgb(63, 42, 177);
/* oklch */ color: oklch(41.0% 0.199 280.1);
Tailwind
colors: {
  custom: {
    50: '#8367ca',
    500: '#3f2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ab1;
$custom-light: #8367ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ab1",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 249.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.19924,
    "h": 280.1
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#3F2AB1
secondary
#B9C670
accent
#E543CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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