#3F35C2#3F35C2

#3F35C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.209 H 276.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3F35C2
RGBrgb(63, 53, 194)
HSLhsl(244, 57%, 48%)
HSVhsv(244, 73%, 76%)
CMYKcmyk(67.5%, 72.7%, 0%, 23.9%)
CIE-LABlab(32.91, 47.16, -71.79)
CIE-LCHlch(32.91, 85.89, 303.31°)
OKLaboklab(44.19% 0.0244 -0.2074)
OKLCHoklch(44.19% 0.209 276.7)
XYZxyz(13.0574, 7.4969, 51.7874)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F35C2 #B8C235
analogous
#3571C2 #3F35C2 #8535C2
triadic
#3F35C2 #C23F35 #35C23F
tetradic
#3F35C2 #C23571 #B8C235 #35C285
square
#3F35C2 #C23571 #B8C235 #35C285
split-complementary
#3F35C2 #C28535 #71C235
monochromatic
#201B62 #2F2892 #3F35C2 #6960D4 #9691E1

Accessibility & contrast

On white

8.40
#3F35C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F35C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F35C2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F35C2#FFFFFF#000000##FFFFFF
##3F35C21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f35c2;
/* rgb */ color: rgb(63, 53, 194);
/* oklch */ color: oklch(44.2% 0.209 276.7);
Tailwind
colors: {
  custom: {
    50: '#866ed6',
    500: '#3f35c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f35c2;
$custom-light: #866ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f35c2",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 244.255,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.20883,
    "h": 276.7
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#3F35C2
secondary
#C7CC87
accent
#E047D6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3F35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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