#3F2EAE#3F2EAE

#3F2EAE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.192 H 279.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3F2EAE
RGBrgb(63, 46, 174)
HSLhsl(248, 58%, 43%)
HSVhsv(248, 74%, 68%)
CMYKcmyk(63.8%, 73.6%, 0%, 31.8%)
CIE-LABlab(29.58, 44.70, -65.42)
CIE-LCHlch(29.58, 79.24, 304.34°)
OKLaboklab(41.24% 0.0329 -0.1888)
OKLCHoklch(41.24% 0.192 279.9)
XYZxyz(10.6644, 6.0659, 40.6450)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EAE #9DAE2E
analogous
#2E5DAE #3F2EAE #7F2EAE
triadic
#3F2EAE #AE3F2E #2EAE3F
tetradic
#3F2EAE #AE2E5D #9DAE2E #2EAE7F
square
#3F2EAE #AE2E5D #9DAE2E #2EAE7F
split-complementary
#3F2EAE #AE7F2E #5DAE2E
monochromatic
#1C144D #2D217E #3F2EAE #5C4ACF #877ADC

Accessibility & contrast

On white

9.49
#3F2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EAE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EAE#FFFFFF#000000##FFFFFF
##3F2EAE1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2eae;
/* rgb */ color: rgb(63, 46, 174);
/* oklch */ color: oklch(41.2% 0.192 279.9);
Tailwind
colors: {
  custom: {
    50: '#8269c7',
    500: '#3f2eae',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eae;
$custom-light: #8269c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eae",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 247.969,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.19163,
    "h": 279.9
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#3F2EAE
secondary
#BAC474
accent
#E146CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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