#3F3FC6#3F3FC6

#3F3FC6 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.1% C 0.203 H 274.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3F3FC6
RGBrgb(63, 63, 198)
HSLhsl(240, 54%, 51%)
HSVhsv(240, 68%, 78%)
CMYKcmyk(68.2%, 68.2%, 0%, 22.4%)
CIE-LABlab(35.38, 42.72, -70.08)
CIE-LCHlch(35.38, 82.07, 301.37°)
OKLaboklab(46.07% 0.0175 -0.2024)
OKLCHoklch(46.07% 0.203 274.9)
XYZxyz(14.0171, 8.6877, 54.3533)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FC6 #C6C63F
analogous
#3F82C6 #3F3FC6 #823FC6
triadic
#3F3FC6 #C63F3F #3FC63F
tetradic
#3F3FC6 #C63F82 #C6C63F #3FC682
square
#3F3FC6 #C63F82 #C6C63F #3FC682
split-complementary
#3F3FC6 #C6823F #82C63F
monochromatic
#20206B #2E2E9A #3F3FC6 #6E6ED4 #9D9DE2

Accessibility & contrast

On white

7.67
#3F3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F3FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FC6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FC6#FFFFFF#000000##FFFFFF
##3F3FC61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f3fc6;
/* rgb */ color: rgb(63, 63, 198);
/* oklch */ color: oklch(46.1% 0.203 274.9);
Tailwind
colors: {
  custom: {
    50: '#8675d8',
    500: '#3f3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fc6;
$custom-light: #8675d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fc6",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.20318,
    "h": 274.9
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#3F3FC6
secondary
#CECE93
accent
#DE4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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