#3F32C3#3F32C3

#3F32C3 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.213 H 277.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3F32C3
RGBrgb(63, 50, 195)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(67.7%, 74.4%, 0%, 23.5%)
CIE-LABlab(32.43, 49.12, -73.17)
CIE-LCHlch(32.43, 88.13, 303.87°)
OKLaboklab(43.88% 0.026 -0.2114)
OKLCHoklch(43.88% 0.213 277)
XYZxyz(13.0376, 7.2769, 52.3367)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32C3 #B6C332
analogous
#326EC3 #3F32C3 #8732C3
triadic
#3F32C3 #C33F32 #32C33F
tetradic
#3F32C3 #C3326E #B6C332 #32C387
square
#3F32C3 #C3326E #B6C332 #32C387
split-complementary
#3F32C3 #C38732 #6EC332
monochromatic
#201962 #2F2692 #3F32C3 #685DD5 #958EE2

Accessibility & contrast

On white

8.55
#3F32C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F32C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32C3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32C3#FFFFFF#000000##FFFFFF
##3F32C31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f32c3;
/* rgb */ color: rgb(63, 50, 195);
/* oklch */ color: oklch(43.9% 0.213 277.0);
Tailwind
colors: {
  custom: {
    50: '#866cd6',
    500: '#3f32c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f32c3;
$custom-light: #866cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32c3",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 245.379,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.213,
    "h": 277
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#3F32C3
secondary
#C6CC85
accent
#E245D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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