#3F2D9E#3F2D9E

#3F2D9E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.173 H 282.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3F2D9E
RGBrgb(63, 45, 158)
HSLhsl(250, 56%, 40%)
HSVhsv(250, 72%, 62%)
CMYKcmyk(60.1%, 71.5%, 0%, 38%)
CIE-LABlab(27.85, 40.22, -58.61)
CIE-LCHlch(27.85, 71.08, 304.46°)
OKLaboklab(39.54% 0.0369 -0.1688)
OKLCHoklch(39.54% 0.173 282.3)
XYZxyz(9.1579, 5.4015, 32.9011)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D9E #8C9E2D
analogous
#2D539E #3F2D9E #782D9E
triadic
#3F2D9E #9E3F2D #2D9E3F
tetradic
#3F2D9E #9E2D53 #8C9E2D #2D9E78
square
#3F2D9E #9E2D53 #8C9E2D #2D9E78
split-complementary
#3F2D9E #9E782D #539E2D
monochromatic
#19123F #2C1F6E #3F2D9E #5540C9 #806FD6

Accessibility & contrast

On white

10.09
#3F2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D9E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D9E#FFFFFF#000000##FFFFFF
##3F2D9E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2d9e;
/* rgb */ color: rgb(63, 45, 158);
/* oklch */ color: oklch(39.5% 0.173 282.3);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3f2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d9e;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d9e",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 249.558,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.17283,
    "h": 282.3
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#3F2D9E
secondary
#B0BD69
accent
#DF49C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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