#3F3DC6#3F3DC6

#3F3DC6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.205 H 275.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3F3DC6
RGBrgb(63, 61, 198)
HSLhsl(241, 55%, 51%)
HSVhsv(241, 69%, 78%)
CMYKcmyk(68.2%, 69.2%, 0%, 22.4%)
CIE-LABlab(34.94, 43.90, -70.79)
CIE-LCHlch(34.94, 83.29, 301.80°)
OKLaboklab(45.76% 0.0188 -0.2045)
OKLCHoklch(45.76% 0.205 275.2)
XYZxyz(13.9083, 8.4702, 54.3171)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DC6 #C4C63D
analogous
#3D7FC6 #3F3DC6 #833DC6
triadic
#3F3DC6 #C63F3D #3DC63F
tetradic
#3F3DC6 #C63D7F #C4C63D #3DC683
square
#3F3DC6 #C63D7F #C4C63D #3DC683
split-complementary
#3F3DC6 #C6833D #7FC63D
monochromatic
#201F6A #2E2D99 #3F3DC6 #6E6CD4 #9D9CE2

Accessibility & contrast

On white

7.79
#3F3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F3DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DC6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DC6#FFFFFF#000000##FFFFFF
##3F3DC61.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3dc6;
/* rgb */ color: rgb(63, 61, 198);
/* oklch */ color: oklch(45.8% 0.205 275.2);
Tailwind
colors: {
  custom: {
    50: '#8674d8',
    500: '#3f3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dc6;
$custom-light: #8674d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dc6",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 240.876,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.20536,
    "h": 275.2
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#3F3DC6
secondary
#CDCE91
accent
#DE4ADC
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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