#3F3EC7#3F3EC7

#3F3EC7 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.206 H 275.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3F3EC7
RGBrgb(63, 62, 199)
HSLhsl(240, 55%, 51%)
HSVhsv(240, 69%, 78%)
CMYKcmyk(68.3%, 68.8%, 0%, 22%)
CIE-LABlab(35.25, 43.64, -70.86)
CIE-LCHlch(35.25, 83.22, 301.63°)
OKLaboklab(46.01% 0.018 -0.2047)
OKLCHoklch(46.01% 0.206 275)
XYZxyz(14.0779, 8.6242, 54.9445)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EC7 #C6C73E
analogous
#3E81C7 #3F3EC7 #833EC7
triadic
#3F3EC7 #C73F3E #3EC73F
tetradic
#3F3EC7 #C73E81 #C6C73E #3EC783
square
#3F3EC7 #C73E81 #C6C73E #3EC783
split-complementary
#3F3EC7 #C7833E #81C73E
monochromatic
#201F6B #2E2D9B #3F3EC7 #6E6DD5 #9D9DE3

Accessibility & contrast

On white

7.71
#3F3EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F3EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EC7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EC7#FFFFFF#000000##FFFFFF
##3F3EC71.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f3ec7;
/* rgb */ color: rgb(63, 62, 199);
/* oklch */ color: oklch(46.0% 0.206 275.0);
Tailwind
colors: {
  custom: {
    50: '#8674d9',
    500: '#3f3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ec7;
$custom-light: #8674d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ec7",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 240.438,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.20552,
    "h": 275
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#3F3EC7
secondary
#CECF92
accent
#DE49DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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