#3F34BB#3F34BB

#3F34BB is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.201 H 277.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3F34BB
RGBrgb(63, 52, 187)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 73%)
CMYKcmyk(66.3%, 72.2%, 0%, 26.7%)
CIE-LABlab(32.03, 45.49, -69.11)
CIE-LCHlch(32.03, 82.74, 303.35°)
OKLaboklab(43.36% 0.0264 -0.1996)
OKLCHoklch(43.36% 0.201 277.5)
XYZxyz(12.2446, 7.0996, 47.7292)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34BB #B0BB34
analogous
#346DBB #3F34BB #8334BB
triadic
#3F34BB #BB3F34 #34BB3F
tetradic
#3F34BB #BB346D #B0BB34 #34BB83
square
#3F34BB #BB346D #B0BB34 #34BB83
split-complementary
#3F34BB #BB8334 #6DBB34
monochromatic
#1F195B #2F278B #3F34BB #655BD1 #928BDF

Accessibility & contrast

On white

8.68
#3F34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34BB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34BB#FFFFFF#000000##FFFFFF
##3F34BB1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f34bb;
/* rgb */ color: rgb(63, 52, 187);
/* oklch */ color: oklch(43.4% 0.201 277.5);
Tailwind
colors: {
  custom: {
    50: '#846dd1',
    500: '#3f34bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f34bb;
$custom-light: #846dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34bb",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 244.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.20132,
    "h": 277.5
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#3F34BB
secondary
#C3C982
accent
#E048D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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