#3F3EC2#3F3EC2

#3F3EC2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.199 H 275.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3F3EC2
RGBrgb(63, 62, 194)
HSLhsl(240, 52%, 50%)
HSVhsv(240, 68%, 76%)
CMYKcmyk(67.5%, 68%, 0%, 23.9%)
CIE-LABlab(34.79, 41.98, -68.69)
CIE-LCHlch(34.79, 80.50, 301.43°)
OKLaboklab(45.54% 0.0187 -0.1984)
OKLCHoklch(45.54% 0.199 275.4)
XYZxyz(13.5069, 8.3958, 51.9372)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EC2 #C1C23E
analogous
#3E7FC2 #3F3EC2 #813EC2
triadic
#3F3EC2 #C23F3E #3EC23F
tetradic
#3F3EC2 #C23E7F #C1C23E #3EC281
square
#3F3EC2 #C23E7F #C1C23E #3EC281
split-complementary
#3F3EC2 #C2813E #7FC23E
monochromatic
#212066 #302F94 #3F3EC2 #6D6DD1 #9C9BDF

Accessibility & contrast

On white

7.84
#3F3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EC2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EC2#FFFFFF#000000##FFFFFF
##3F3EC21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3ec2;
/* rgb */ color: rgb(63, 62, 194);
/* oklch */ color: oklch(45.5% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#8574d6',
    500: '#3f3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ec2;
$custom-light: #8574d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ec2",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 240.455,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4554,
    "c": 0.19925,
    "h": 275.4
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#3F3EC2
secondary
#CBCB90
accent
#DB4CDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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