#3F3FC1#3F3FC1

#3F3FC1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.197 H 275.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F3FC1
RGBrgb(63, 63, 193)
HSLhsl(240, 51%, 50%)
HSVhsv(240, 67%, 76%)
CMYKcmyk(67.4%, 67.4%, 0%, 24.3%)
CIE-LABlab(34.92, 41.05, -67.89)
CIE-LCHlch(34.92, 79.34, 301.16°)
OKLaboklab(45.61% 0.0181 -0.196)
OKLCHoklch(45.61% 0.197 275.3)
XYZxyz(13.4499, 8.4608, 51.3660)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FC1 #C1C13F
analogous
#3F80C1 #3F3FC1 #803FC1
triadic
#3F3FC1 #C13F3F #3FC13F
tetradic
#3F3FC1 #C13F80 #C1C13F #3FC180
square
#3F3FC1 #C13F80 #C1C13F #3FC180
split-complementary
#3F3FC1 #C1803F #80C13F
monochromatic
#212165 #303093 #3F3FC1 #6D6DD0 #9C9CDF

Accessibility & contrast

On white

7.80
#3F3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FC1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FC1#FFFFFF#000000##FFFFFF
##3F3FC11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3fc1;
/* rgb */ color: rgb(63, 63, 193);
/* oklch */ color: oklch(45.6% 0.197 275.3);
Tailwind
colors: {
  custom: {
    50: '#8575d5',
    500: '#3f3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fc1;
$custom-light: #8575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fc1",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.19687,
    "h": 275.3
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#3F3FC1
secondary
#CBCB91
accent
#DB4DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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