#3F3DC8#3F3DC8

#3F3DC8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.208 H 275.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3F3DC8
RGBrgb(63, 61, 200)
HSLhsl(241, 56%, 51%)
HSVhsv(241, 70%, 78%)
CMYKcmyk(68.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(35.13, 44.55, -71.65)
CIE-LCHlch(35.13, 84.37, 301.88°)
OKLaboklab(45.95% 0.0185 -0.207)
OKLCHoklch(45.95% 0.208 275.1)
XYZxyz(14.1405, 8.5631, 55.5400)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DC8 #C6C83D
analogous
#3D80C8 #3F3DC8 #843DC8
triadic
#3F3DC8 #C83F3D #3DC83F
tetradic
#3F3DC8 #C83D80 #C6C83D #3DC884
square
#3F3DC8 #C83D80 #C6C83D #3DC884
split-complementary
#3F3DC8 #C8843D #80C83D
monochromatic
#201F6C #2E2C9C #3F3DC8 #6E6DD6 #9D9CE3

Accessibility & contrast

On white

7.74
#3F3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F3DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DC8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DC8#FFFFFF#000000##FFFFFF
##3F3DC81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3dc8;
/* rgb */ color: rgb(63, 61, 200);
/* oklch */ color: oklch(45.9% 0.208 275.1);
Tailwind
colors: {
  custom: {
    50: '#8674da',
    500: '#3f3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dc8;
$custom-light: #8674da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dc8",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 240.863,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.20784,
    "h": 275.1
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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