#3F34B5#3F34B5

#3F34B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.194 H 278.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3F34B5
RGBrgb(63, 52, 181)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 71%)
CMYKcmyk(65.2%, 71.3%, 0%, 29%)
CIE-LABlab(31.46, 43.56, -66.50)
CIE-LCHlch(31.46, 79.50, 303.23°)
OKLaboklab(42.78% 0.0275 -0.192)
OKLCHoklch(42.78% 0.194 278.1)
XYZxyz(11.6157, 6.8480, 44.4168)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B5 #AAB534
analogous
#3469B5 #3F34B5 #7F34B5
triadic
#3F34B5 #B53F34 #34B53F
tetradic
#3F34B5 #B53469 #AAB534 #34B57F
square
#3F34B5 #B53469 #AAB534 #34B57F
split-complementary
#3F34B5 #B57F34 #69B534
monochromatic
#1E1956 #2E2685 #3F34B5 #6257CF #8E87DC

Accessibility & contrast

On white

8.86
#3F34B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3F34B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34B5
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B5#FFFFFF#000000##FFFFFF
##3F34B51.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f34b5;
/* rgb */ color: rgb(63, 52, 181);
/* oklch */ color: oklch(42.8% 0.194 278.1);
Tailwind
colors: {
  custom: {
    50: '#836dcc',
    500: '#3f34b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b5;
$custom-light: #836dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b5",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 245.116,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.19392,
    "h": 278.1
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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