#3F34B3#3F34B3

#3F34B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.191 H 278.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3F34B3
RGBrgb(63, 52, 179)
HSLhsl(245, 55%, 45%)
HSVhsv(245, 71%, 70%)
CMYKcmyk(64.8%, 70.9%, 0%, 29.8%)
CIE-LABlab(31.27, 42.92, -65.63)
CIE-LCHlch(31.27, 78.41, 303.19°)
OKLaboklab(42.59% 0.0278 -0.1894)
OKLCHoklch(42.59% 0.191 278.4)
XYZxyz(11.4120, 6.7665, 43.3438)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B3 #A8B334
analogous
#3468B3 #3F34B3 #7E34B3
triadic
#3F34B3 #B33F34 #34B33F
tetradic
#3F34B3 #B33468 #A8B334 #34B37E
square
#3F34B3 #B33468 #A8B334 #34B37E
split-complementary
#3F34B3 #B37E34 #68B334
monochromatic
#1E1854 #2E2684 #3F34B3 #6156CE #8D86DC

Accessibility & contrast

On white

8.92
#3F34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F34B3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B3#FFFFFF#000000##FFFFFF
##3F34B31.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f34b3;
/* rgb */ color: rgb(63, 52, 179);
/* oklch */ color: oklch(42.6% 0.191 278.4);
Tailwind
colors: {
  custom: {
    50: '#836dcb',
    500: '#3f34b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b3;
$custom-light: #836dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b3",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 245.197,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.19143,
    "h": 278.4
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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