#3F32C1#3F32C1

#3F32C1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.211 H 277.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3F32C1
RGBrgb(63, 50, 193)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(67.4%, 74.1%, 0%, 24.3%)
CIE-LABlab(32.23, 48.49, -72.32)
CIE-LCHlch(32.23, 87.08, 303.84°)
OKLaboklab(43.68% 0.0264 -0.2089)
OKLCHoklch(43.68% 0.211 277.2)
XYZxyz(12.8130, 7.1871, 51.1538)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32C1 #B4C132
analogous
#326CC1 #3F32C1 #8732C1
triadic
#3F32C1 #C13F32 #32C13F
tetradic
#3F32C1 #C1326C #B4C132 #32C187
square
#3F32C1 #C1326C #B4C132 #32C187
split-complementary
#3F32C1 #C18732 #6CC132
monochromatic
#1F1960 #2F2590 #3F32C1 #675CD5 #948CE1

Accessibility & contrast

On white

8.62
#3F32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F32C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32C1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32C1#FFFFFF#000000##FFFFFF
##3F32C11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f32c1;
/* rgb */ color: rgb(63, 50, 193);
/* oklch */ color: oklch(43.7% 0.211 277.2);
Tailwind
colors: {
  custom: {
    50: '#866cd5',
    500: '#3f32c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f32c1;
$custom-light: #866cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32c1",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 245.455,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.21061,
    "h": 277.2
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#3F32C1
secondary
#C5CB83
accent
#E246D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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