#3F2CB1#3F2CB1

#3F2CB1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.3% C 0.197 H 279.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3F2CB1
RGBrgb(63, 44, 177)
HSLhsl(249, 60%, 43%)
HSVhsv(249, 75%, 69%)
CMYKcmyk(64.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(29.49, 46.72, -67.36)
CIE-LCHlch(29.49, 81.97, 304.74°)
OKLaboklab(41.27% 0.0336 -0.1944)
OKLCHoklch(41.27% 0.197 279.8)
XYZxyz(10.8839, 6.0316, 42.1771)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CB1 #9EB12C
analogous
#2C5CB1 #3F2CB1 #812CB1
triadic
#3F2CB1 #B13F2C #2CB13F
tetradic
#3F2CB1 #B12C5C #9EB12C #2CB181
square
#3F2CB1 #B12C5C #9EB12C #2CB181
split-complementary
#3F2CB1 #B1812C #5CB12C
monochromatic
#1C144F #2E2080 #3F2CB1 #5C49D2 #887ADE

Accessibility & contrast

On white

9.52
#3F2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2CB1
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CB1#FFFFFF#000000##FFFFFF
##3F2CB11.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2cb1;
/* rgb */ color: rgb(63, 44, 177);
/* oklch */ color: oklch(41.3% 0.197 279.8);
Tailwind
colors: {
  custom: {
    50: '#8368ca',
    500: '#3f2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cb1;
$custom-light: #8368ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cb1",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 248.571,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.19729,
    "h": 279.8
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#3F2CB1
secondary
#BAC673
accent
#E344CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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