#3F2BAD#3F2BAD

#3F2BAD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.193 H 280.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F2BAD
RGBrgb(63, 43, 173)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 68%)
CMYKcmyk(63.6%, 75.1%, 0%, 32.2%)
CIE-LABlab(28.90, 46.01, -65.93)
CIE-LCHlch(28.90, 80.40, 304.91°)
OKLaboklab(40.73% 0.0351 -0.1902)
OKLCHoklch(40.73% 0.193 280.5)
XYZxyz(10.4542, 5.8008, 40.0958)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BAD #99AD2B
analogous
#2B58AD #3F2BAD #802BAD
triadic
#3F2BAD #AD3F2B #2BAD3F
tetradic
#3F2BAD #AD2B58 #99AD2B #2BAD80
square
#3F2BAD #AD2B58 #99AD2B #2BAD80
split-complementary
#3F2BAD #AD802B #58AD2B
monochromatic
#1B134B #2D1F7C #3F2BAD #5A45D1 #8576DD

Accessibility & contrast

On white

9.72
#3F2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BAD
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BAD#FFFFFF#000000##FFFFFF
##3F2BAD1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2bad;
/* rgb */ color: rgb(63, 43, 173);
/* oklch */ color: oklch(40.7% 0.193 280.5);
Tailwind
colors: {
  custom: {
    50: '#8267c7',
    500: '#3f2bad',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bad;
$custom-light: #8267c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bad",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 249.231,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.19347,
    "h": 280.5
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#3F2BAD
secondary
#B7C46F
accent
#E344CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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