#3F34B2#3F34B2

#3F34B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.190 H 278.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3F34B2
RGBrgb(63, 52, 178)
HSLhsl(245, 55%, 45%)
HSVhsv(245, 71%, 70%)
CMYKcmyk(64.6%, 70.8%, 0%, 30.2%)
CIE-LABlab(31.18, 42.60, -65.19)
CIE-LCHlch(31.18, 77.87, 303.16°)
OKLaboklab(42.49% 0.028 -0.1881)
OKLCHoklch(42.49% 0.19 278.5)
XYZxyz(11.3112, 6.7262, 42.8131)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B2 #A7B234
analogous
#3468B2 #3F34B2 #7E34B2
triadic
#3F34B2 #B23F34 #34B23F
tetradic
#3F34B2 #B23468 #A7B234 #34B27E
square
#3F34B2 #B23468 #A7B234 #34B27E
split-complementary
#3F34B2 #B27E34 #68B234
monochromatic
#1D1853 #2E2683 #3F34B2 #6056CE #8D85DB

Accessibility & contrast

On white

8.95
#3F34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F34B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34B2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B2#FFFFFF#000000##FFFFFF
##3F34B21.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f34b2;
/* rgb */ color: rgb(63, 52, 178);
/* oklch */ color: oklch(42.5% 0.190 278.5);
Tailwind
colors: {
  custom: {
    50: '#836dca',
    500: '#3f34b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b2;
$custom-light: #836dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b2",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 245.238,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.19018,
    "h": 278.5
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#3F34B2
secondary
#BFC57D
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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