#3F34C7#3F34C7

#3F34C7 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.216 H 276.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3F34C7
RGBrgb(63, 52, 199)
HSLhsl(244, 59%, 49%)
HSVhsv(244, 74%, 78%)
CMYKcmyk(68.3%, 73.9%, 0%, 22%)
CIE-LABlab(33.21, 49.30, -74.22)
CIE-LCHlch(33.21, 89.10, 303.59°)
OKLaboklab(44.55% 0.024 -0.2145)
OKLCHoklch(44.55% 0.216 276.4)
XYZxyz(13.5833, 7.6350, 54.7796)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34C7 #BCC734
analogous
#3473C7 #3F34C7 #8934C7
triadic
#3F34C7 #C73F34 #34C73F
tetradic
#3F34C7 #C73473 #BCC734 #34C789
square
#3F34C7 #C73473 #BCC734 #34C789
split-complementary
#3F34C7 #C78934 #73C734
monochromatic
#201B66 #302796 #3F34C7 #6B62D6 #9993E3

Accessibility & contrast

On white

8.31
#3F34C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F34C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34C7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34C7#FFFFFF#000000##FFFFFF
##3F34C71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f34c7;
/* rgb */ color: rgb(63, 52, 199);
/* oklch */ color: oklch(44.6% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#876ed9',
    500: '#3f34c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f34c7;
$custom-light: #876ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34c7",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 244.49,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44552,
    "c": 0.21584,
    "h": 276.4
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#3F34C7
secondary
#C9CE89
accent
#E246D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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