#3F32C2#3F32C2

#3F32C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.212 H 277.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3F32C2
RGBrgb(63, 50, 194)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(67.5%, 74.2%, 0%, 23.9%)
CIE-LABlab(32.33, 48.80, -72.75)
CIE-LCHlch(32.33, 87.60, 303.86°)
OKLaboklab(43.78% 0.0262 -0.2102)
OKLCHoklch(43.78% 0.212 277.1)
XYZxyz(12.9249, 7.2319, 51.7432)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32C2 #B5C232
analogous
#326DC2 #3F32C2 #8732C2
triadic
#3F32C2 #C23F32 #32C23F
tetradic
#3F32C2 #C2326D #B5C232 #32C287
square
#3F32C2 #C2326D #B5C232 #32C287
split-complementary
#3F32C2 #C28732 #6DC232
monochromatic
#1F1961 #2F2591 #3F32C2 #675CD5 #948DE2

Accessibility & contrast

On white

8.58
#3F32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32C2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32C2#FFFFFF#000000##FFFFFF
##3F32C21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f32c2;
/* rgb */ color: rgb(63, 50, 194);
/* oklch */ color: oklch(43.8% 0.212 277.1);
Tailwind
colors: {
  custom: {
    50: '#866cd6',
    500: '#3f32c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f32c2;
$custom-light: #866cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32c2",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 245.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.21181,
    "h": 277.1
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#3F32C2
secondary
#C5CC84
accent
#E246D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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