#3F2DA2#3F2DA2

#3F2DA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.178 H 281.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3F2DA2
RGBrgb(63, 45, 162)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 72%, 64%)
CMYKcmyk(61.1%, 72.2%, 0%, 36.5%)
CIE-LABlab(28.22, 41.48, -60.42)
CIE-LCHlch(28.22, 73.29, 304.47°)
OKLaboklab(39.92% 0.0361 -0.1741)
OKLCHoklch(39.92% 0.178 281.7)
XYZxyz(9.5078, 5.5415, 34.7440)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DA2 #90A22D
analogous
#2D55A2 #3F2DA2 #792DA2
triadic
#3F2DA2 #A23F2D #2DA23F
tetradic
#3F2DA2 #A22D55 #90A22D #2DA279
square
#3F2DA2 #A22D55 #90A22D #2DA279
split-complementary
#3F2DA2 #A2792D #55A22D
monochromatic
#1A1242 #2C2072 #3F2DA2 #5742CA #8172D8

Accessibility & contrast

On white

9.96
#3F2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DA2
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DA2#FFFFFF#000000##FFFFFF
##3F2DA21.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2da2;
/* rgb */ color: rgb(63, 45, 162);
/* oklch */ color: oklch(39.9% 0.178 281.7);
Tailwind
colors: {
  custom: {
    50: '#8068bf',
    500: '#3f2da2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2da2;
$custom-light: #8068bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2da2",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 249.231,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.17786,
    "h": 281.7
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#3F2DA2
secondary
#B2BF6C
accent
#E048C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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