#3F3FC2#3F3FC2

#3F3FC2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.198 H 275.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3F3FC2
RGBrgb(63, 63, 194)
HSLhsl(240, 52%, 50%)
HSVhsv(240, 68%, 76%)
CMYKcmyk(67.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(35.01, 41.38, -68.33)
CIE-LCHlch(35.01, 79.89, 301.20°)
OKLaboklab(45.7% 0.018 -0.1973)
OKLCHoklch(45.7% 0.198 275.2)
XYZxyz(13.5618, 8.5056, 51.9555)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FC2 #C2C23F
analogous
#3F80C2 #3F3FC2 #803FC2
triadic
#3F3FC2 #C23F3F #3FC23F
tetradic
#3F3FC2 #C23F80 #C2C23F #3FC280
square
#3F3FC2 #C23F80 #C2C23F #3FC280
split-complementary
#3F3FC2 #C2803F #80C23F
monochromatic
#202066 #2F2F95 #3F3FC2 #6D6DD1 #9C9CE0

Accessibility & contrast

On white

7.77
#3F3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3F3FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FC2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FC2#FFFFFF#000000##FFFFFF
##3F3FC21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3fc2;
/* rgb */ color: rgb(63, 63, 194);
/* oklch */ color: oklch(45.7% 0.198 275.2);
Tailwind
colors: {
  custom: {
    50: '#8575d6',
    500: '#3f3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fc2;
$custom-light: #8575d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fc2",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.457,
    "c": 0.19814,
    "h": 275.2
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#3F3FC2
secondary
#CCCC91
accent
#DB4DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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