#3F34B7#3F34B7

#3F34B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 43.0% C 0.196 H 277.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3F34B7
RGBrgb(63, 52, 183)
HSLhsl(245, 56%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(65.6%, 71.6%, 0%, 28.2%)
CIE-LABlab(31.65, 44.21, -67.38)
CIE-LCHlch(31.65, 80.59, 303.27°)
OKLaboklab(42.97% 0.0271 -0.1945)
OKLCHoklch(42.97% 0.196 277.9)
XYZxyz(11.8224, 6.9307, 45.5053)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B7 #ACB734
analogous
#346AB7 #3F34B7 #8034B7
triadic
#3F34B7 #B73F34 #34B73F
tetradic
#3F34B7 #B7346A #ACB734 #34B780
square
#3F34B7 #B7346A #ACB734 #34B780
split-complementary
#3F34B7 #B78034 #6AB734
monochromatic
#1E1958 #2F2687 #3F34B7 #6359D0 #8F88DD

Accessibility & contrast

On white

8.80
#3F34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34B7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B7#FFFFFF#000000##FFFFFF
##3F34B71.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f34b7;
/* rgb */ color: rgb(63, 52, 183);
/* oklch */ color: oklch(43.0% 0.196 277.9);
Tailwind
colors: {
  custom: {
    50: '#846dce',
    500: '#3f34b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b7;
$custom-light: #846dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b7",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 245.038,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.19641,
    "h": 277.9
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3F34B7
secondary
#C1C780
accent
#DF49D2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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