#3F2CAC#3F2CAC

#3F2CAC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.8% C 0.191 H 280.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3F2CAC
RGBrgb(63, 44, 172)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 67%)
CMYKcmyk(63.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(28.99, 45.17, -65.18)
CIE-LCHlch(28.99, 79.30, 304.72°)
OKLaboklab(40.76% 0.0347 -0.1881)
OKLCHoklch(40.76% 0.191 280.5)
XYZxyz(10.3946, 5.8359, 39.6004)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CAC #99AC2C
analogous
#2C59AC #3F2CAC #7F2CAC
triadic
#3F2CAC #AC3F2C #2CAC3F
tetradic
#3F2CAC #AC2C59 #99AC2C #2CAC7F
square
#3F2CAC #AC2C59 #99AC2C #2CAC7F
split-complementary
#3F2CAC #AC7F2C #59AC2C
monochromatic
#1B134B #2D207B #3F2CAC #5A46D0 #8576DC

Accessibility & contrast

On white

9.69
#3F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CAC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CAC#FFFFFF#000000##FFFFFF
##3F2CAC1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2cac;
/* rgb */ color: rgb(63, 44, 172);
/* oklch */ color: oklch(40.8% 0.191 280.5);
Tailwind
colors: {
  custom: {
    50: '#8268c6',
    500: '#3f2cac',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cac;
$custom-light: #8268c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cac",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 248.906,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.19124,
    "h": 280.5
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#3F2CAC
secondary
#B7C470
accent
#E245CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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