#3F2CA5#3F2CA5

#3F2CA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.183 H 281.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA5
RGBrgb(63, 44, 165)
HSLhsl(249, 58%, 41%)
HSVhsv(249, 73%, 65%)
CMYKcmyk(61.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(28.31, 42.98, -62.09)
CIE-LCHlch(28.31, 75.52, 304.69°)
OKLaboklab(40.07% 0.0363 -0.179)
OKLCHoklch(40.07% 0.183 281.4)
XYZxyz(9.7400, 5.5740, 36.1527)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA5 #92A52C
analogous
#2C56A5 #3F2CA5 #7B2CA5
triadic
#3F2CA5 #A53F2C #2CA53F
tetradic
#3F2CA5 #A52C56 #92A52C #2CA57B
square
#3F2CA5 #A52C56 #92A52C #2CA57B
split-complementary
#3F2CA5 #A57B2C #56A52C
monochromatic
#1A1244 #2D1F75 #3F2CA5 #5742CD #8272D9

Accessibility & contrast

On white

9.93
#3F2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA5
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA5#FFFFFF#000000##FFFFFF
##3F2CA51.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ca5;
/* rgb */ color: rgb(63, 44, 165);
/* oklch */ color: oklch(40.1% 0.183 281.4);
Tailwind
colors: {
  custom: {
    50: '#8167c1',
    500: '#3f2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca5;
$custom-light: #8167c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca5",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 249.421,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.18267,
    "h": 281.4
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#3F2CA5
secondary
#B3C16C
accent
#E147C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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