#3F2CA3#3F2CA3

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

Color values

HEX#3F2CA3
RGBrgb(63, 44, 163)
HSLhsl(250, 57%, 41%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(61.3%, 73%, 0%, 36.1%)
CIE-LABlab(28.12, 42.36, -61.20)
CIE-LCHlch(28.12, 74.43, 304.69°)
OKLaboklab(39.88% 0.0367 -0.1764)
OKLCHoklch(39.88% 0.18 281.7)
XYZxyz(9.5594, 5.5018, 35.2014)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA3 #90A32C
analogous
#2C54A3 #3F2CA3 #7A2CA3
triadic
#3F2CA3 #A33F2C #2CA33F
tetradic
#3F2CA3 #A32C54 #90A32C #2CA37A
square
#3F2CA3 #A32C54 #90A32C #2CA37A
split-complementary
#3F2CA3 #A37A2C #54A32C
monochromatic
#1A1243 #2C1F73 #3F2CA3 #5741CC #8171D9

Accessibility & contrast

On white

10.00
#3F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA3#FFFFFF#000000##FFFFFF
##3F2CA31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ca3;
/* rgb */ color: rgb(63, 44, 163);
/* oklch */ color: oklch(39.9% 0.180 281.7);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3f2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca3;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca3",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 249.58,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.18019,
    "h": 281.7
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#3F2CA3
secondary
#B2C06B
accent
#E147C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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