#3F35B5#3F35B5

#3F35B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.193 H 278.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3F35B5
RGBrgb(63, 53, 181)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 71%)
CMYKcmyk(65.2%, 70.7%, 0%, 29%)
CIE-LABlab(31.67, 42.99, -66.16)
CIE-LCHlch(31.67, 78.90, 303.01°)
OKLaboklab(42.93% 0.0268 -0.191)
OKLCHoklch(42.93% 0.193 278)
XYZxyz(11.6608, 6.9382, 44.4318)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35B5 #ABB535
analogous
#356BB5 #3F35B5 #7F35B5
triadic
#3F35B5 #B53F35 #35B53F
tetradic
#3F35B5 #B5356B #ABB535 #35B57F
square
#3F35B5 #B5356B #ABB535 #35B57F
split-complementary
#3F35B5 #B57F35 #6BB535
monochromatic
#1E1956 #2F2786 #3F35B5 #6259CE #8F88DC

Accessibility & contrast

On white

8.79
#3F35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35B5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35B5#FFFFFF#000000##FFFFFF
##3F35B51.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f35b5;
/* rgb */ color: rgb(63, 53, 181);
/* oklch */ color: oklch(42.9% 0.193 278.0);
Tailwind
colors: {
  custom: {
    50: '#836ecc',
    500: '#3f35b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f35b5;
$custom-light: #836ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35b5",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 244.688,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.19285,
    "h": 278
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#3F35B5
secondary
#C1C680
accent
#DE4AD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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