#3F34C4#3F34C4

#3F34C4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.212 H 276.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3F34C4
RGBrgb(63, 52, 196)
HSLhsl(245, 58%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(67.9%, 73.5%, 0%, 23.1%)
CIE-LABlab(32.91, 48.35, -72.96)
CIE-LCHlch(32.91, 87.52, 303.53°)
OKLaboklab(44.25% 0.0246 -0.2108)
OKLCHoklch(44.25% 0.212 276.7)
XYZxyz(13.2384, 7.4971, 52.9633)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34C4 #B9C434
analogous
#3471C4 #3F34C4 #8734C4
triadic
#3F34C4 #C43F34 #34C43F
tetradic
#3F34C4 #C43471 #B9C434 #34C487
square
#3F34C4 #C43471 #B9C434 #34C487
split-complementary
#3F34C4 #C48734 #71C434
monochromatic
#201A63 #2F2794 #3F34C4 #6960D5 #9791E2

Accessibility & contrast

On white

8.40
#3F34C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F34C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34C4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34C4#FFFFFF#000000##FFFFFF
##3F34C41.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f34c4;
/* rgb */ color: rgb(63, 52, 196);
/* oklch */ color: oklch(44.3% 0.212 276.7);
Tailwind
colors: {
  custom: {
    50: '#866ed7',
    500: '#3f34c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f34c4;
$custom-light: #866ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34c4",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 244.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.21224,
    "h": 276.7
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#3F34C4
secondary
#C7CC87
accent
#E147D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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