#3F2FAC#3F2FAC

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

Color values

HEX#3F2FAC
RGBrgb(63, 47, 172)
HSLhsl(248, 57%, 43%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(63.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(29.58, 43.52, -64.22)
CIE-LCHlch(29.58, 77.57, 304.12°)
OKLaboklab(41.18% 0.0326 -0.1853)
OKLCHoklch(41.18% 0.188 280)
XYZxyz(10.5104, 6.0675, 39.6390)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FAC #9CAC2F
analogous
#2F5DAC #3F2FAC #7D2FAC
triadic
#3F2FAC #AC3F2F #2FAC3F
tetradic
#3F2FAC #AC2F5D #9CAC2F #2FAC7D
square
#3F2FAC #AC2F5D #9CAC2F #2FAC7D
split-complementary
#3F2FAC #AC7D2F #5DAC2F
monochromatic
#1C154C #2D227C #3F2FAC #5B4BCE #877BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2FAC#FFFFFF#000000##FFFFFF
##3F2FAC1.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)
#004AB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2fac;
/* rgb */ color: rgb(63, 47, 172);
/* oklch */ color: oklch(41.2% 0.188 280.0);
Tailwind
colors: {
  custom: {
    50: '#826ac6',
    500: '#3f2fac',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fac;
$custom-light: #826ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fac",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 247.68,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.18812,
    "h": 280
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#3F2FAC
secondary
#B9C374
accent
#E047CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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