#3F2DAD#3F2DAD

#3F2DAD is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.191 H 280.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3F2DAD
RGBrgb(63, 45, 173)
HSLhsl(248, 59%, 43%)
HSVhsv(248, 74%, 68%)
CMYKcmyk(63.6%, 74%, 0%, 32.2%)
CIE-LABlab(29.29, 44.93, -65.30)
CIE-LCHlch(29.29, 79.27, 304.53°)
OKLaboklab(41% 0.0338 -0.1884)
OKLCHoklch(41% 0.191 280.2)
XYZxyz(10.5287, 5.9499, 40.1207)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DAD #9BAD2D
analogous
#2D5BAD #3F2DAD #7F2DAD
triadic
#3F2DAD #AD3F2D #2DAD3F
tetradic
#3F2DAD #AD2D5B #9BAD2D #2DAD7F
square
#3F2DAD #AD2D5B #9BAD2D #2DAD7F
split-complementary
#3F2DAD #AD7F2D #5BAD2D
monochromatic
#1C144C #2D207C #3F2DAD #5B48CF #8678DC

Accessibility & contrast

On white

9.59
#3F2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F2DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DAD
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DAD#FFFFFF#000000##FFFFFF
##3F2DAD1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2dad;
/* rgb */ color: rgb(63, 45, 173);
/* oklch */ color: oklch(41.0% 0.191 280.2);
Tailwind
colors: {
  custom: {
    50: '#8268c7',
    500: '#3f2dad',
    950: '#000000',
  },
}
SCSS
$custom: #3f2dad;
$custom-light: #8268c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2dad",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 248.438,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.19144,
    "h": 280.2
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#3F2DAD
secondary
#B8C472
accent
#E246CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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