#3F2CAB#3F2CAB

#3F2CAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.190 H 280.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F2CAB
RGBrgb(63, 44, 171)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 67%)
CMYKcmyk(63.2%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.90, 44.85, -64.75)
CIE-LCHlch(28.90, 78.77, 304.71°)
OKLaboklab(40.66% 0.0349 -0.1868)
OKLCHoklch(40.66% 0.19 280.6)
XYZxyz(10.2989, 5.7976, 39.0965)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CAB #98AB2C
analogous
#2C59AB #3F2CAB #7E2CAB
triadic
#3F2CAB #AB3F2C #2CAB3F
tetradic
#3F2CAB #AB2C59 #98AB2C #2CAB7E
square
#3F2CAB #AB2C59 #98AB2C #2CAB7E
split-complementary
#3F2CAB #AB7E2C #59AB2C
monochromatic
#1B134A #2D1F7A #3F2CAB #5A45CF #8576DC

Accessibility & contrast

On white

9.72
#3F2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F2CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CAB
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CAB#FFFFFF#000000##FFFFFF
##3F2CAB1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2cab;
/* rgb */ color: rgb(63, 44, 171);
/* oklch */ color: oklch(40.7% 0.190 280.6);
Tailwind
colors: {
  custom: {
    50: '#8268c5',
    500: '#3f2cab',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cab;
$custom-light: #8268c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cab",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 248.976,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.19003,
    "h": 280.6
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#3F2CAB
secondary
#B7C36F
accent
#E246CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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