#3F34C1#3F34C1

#3F34C1 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.209 H 276.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3F34C1
RGBrgb(63, 52, 193)
HSLhsl(245, 58%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(67.4%, 73.1%, 0%, 24.3%)
CIE-LABlab(32.62, 47.40, -71.69)
CIE-LCHlch(32.62, 85.94, 303.47°)
OKLaboklab(43.95% 0.0252 -0.2071)
OKLCHoklch(43.95% 0.209 276.9)
XYZxyz(12.9004, 7.3619, 51.1829)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34C1 #B6C134
analogous
#346FC1 #3F34C1 #8534C1
triadic
#3F34C1 #C13F34 #34C13F
tetradic
#3F34C1 #C1346F #B6C134 #34C185
square
#3F34C1 #C1346F #B6C134 #34C185
split-complementary
#3F34C1 #C18534 #6FC134
monochromatic
#201A61 #2F2791 #3F34C1 #685ED4 #958FE1

Accessibility & contrast

On white

8.49
#3F34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3F34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34C1
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34C1#FFFFFF#000000##FFFFFF
##3F34C11.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f34c1;
/* rgb */ color: rgb(63, 52, 193);
/* oklch */ color: oklch(44.0% 0.209 276.9);
Tailwind
colors: {
  custom: {
    50: '#866ed5',
    500: '#3f34c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f34c1;
$custom-light: #866ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34c1",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 244.681,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.20863,
    "h": 276.9
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#3F34C1
secondary
#C6CB86
accent
#E147D5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3F34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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