#3F3BC6#3F3BC6

#3F3BC6 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.207 H 275.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3F3BC6
RGBrgb(63, 59, 198)
HSLhsl(242, 55%, 50%)
HSVhsv(242, 70%, 78%)
CMYKcmyk(68.2%, 70.2%, 0%, 22.4%)
CIE-LABlab(34.52, 45.06, -71.48)
CIE-LCHlch(34.52, 84.50, 302.23°)
OKLaboklab(45.46% 0.02 -0.2065)
OKLCHoklch(45.46% 0.208 275.5)
XYZxyz(13.8036, 8.2606, 54.2822)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BC6 #C2C63B
analogous
#3B7CC6 #3F3BC6 #853BC6
triadic
#3F3BC6 #C63F3B #3BC63F
tetradic
#3F3BC6 #C63B7C #C2C63B #3BC685
square
#3F3BC6 #C63B7C #C2C63B #3BC685
split-complementary
#3F3BC6 #C6853B #7CC63B
monochromatic
#201E68 #2F2C98 #3F3BC6 #6D6AD4 #9C9AE2

Accessibility & contrast

On white

7.92
#3F3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F3BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BC6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BC6#FFFFFF#000000##FFFFFF
##3F3BC61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3bc6;
/* rgb */ color: rgb(63, 59, 198);
/* oklch */ color: oklch(45.5% 0.207 275.5);
Tailwind
colors: {
  custom: {
    50: '#8672d8',
    500: '#3f3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bc6;
$custom-light: #8672d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bc6",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 241.727,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.2075,
    "h": 275.5
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#3F3BC6
secondary
#CCCD8F
accent
#DE4ADA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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