#3F34B4#3F34B4

#3F34B4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.193 H 278.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3F34B4
RGBrgb(63, 52, 180)
HSLhsl(245, 55%, 45%)
HSVhsv(245, 71%, 71%)
CMYKcmyk(65%, 71.1%, 0%, 29.4%)
CIE-LABlab(31.36, 43.24, -66.07)
CIE-LCHlch(31.36, 78.96, 303.21°)
OKLaboklab(42.68% 0.0276 -0.1907)
OKLCHoklch(42.68% 0.193 278.2)
XYZxyz(11.5135, 6.8071, 43.8783)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B4 #A9B434
analogous
#3469B4 #3F34B4 #7F34B4
triadic
#3F34B4 #B43F34 #34B43F
tetradic
#3F34B4 #B43469 #A9B434 #34B47F
square
#3F34B4 #B43469 #A9B434 #34B47F
split-complementary
#3F34B4 #B47F34 #69B434
monochromatic
#1E1955 #2E2685 #3F34B4 #6157CE #8E86DC

Accessibility & contrast

On white

8.89
#3F34B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F34B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34B4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B4#FFFFFF#000000##FFFFFF
##3F34B41.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f34b4;
/* rgb */ color: rgb(63, 52, 180);
/* oklch */ color: oklch(42.7% 0.193 278.2);
Tailwind
colors: {
  custom: {
    50: '#836dcc',
    500: '#3f34b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b4;
$custom-light: #836dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b4",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 245.156,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.19268,
    "h": 278.2
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#3F34B4
secondary
#C0C67E
accent
#DF49D2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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