#3F35B3#3F35B3

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

Color values

HEX#3F35B3
RGBrgb(63, 53, 179)
HSLhsl(245, 54%, 45%)
HSVhsv(245, 70%, 70%)
CMYKcmyk(64.8%, 70.4%, 0%, 29.8%)
CIE-LABlab(31.48, 42.34, -65.28)
CIE-LCHlch(31.48, 77.81, 302.97°)
OKLaboklab(42.74% 0.0271 -0.1884)
OKLCHoklch(42.74% 0.19 278.2)
XYZxyz(11.4571, 6.8567, 43.3588)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35B3 #A9B335
analogous
#356AB3 #3F35B3 #7E35B3
triadic
#3F35B3 #B33F35 #35B33F
tetradic
#3F35B3 #B3356A #A9B335 #35B37E
square
#3F35B3 #B3356A #A9B335 #35B37E
split-complementary
#3F35B3 #B37E35 #6AB335
monochromatic
#1E1955 #2E2784 #3F35B3 #6158CD #8E87DB

Accessibility & contrast

On white

8.85
#3F35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F35B3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35B3#FFFFFF#000000##FFFFFF
##3F35B31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f35b3;
/* rgb */ color: rgb(63, 53, 179);
/* oklch */ color: oklch(42.7% 0.190 278.2);
Tailwind
colors: {
  custom: {
    50: '#836ecb',
    500: '#3f35b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f35b3;
$custom-light: #836ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35b3",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 244.762,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.19034,
    "h": 278.2
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#3F35B3
secondary
#C0C57F
accent
#DE4AD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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