#3F3FD8#3F3FD8

#3F3FD8 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.225 H 273.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3F3FD8
RGBrgb(63, 63, 216)
HSLhsl(240, 66%, 55%)
HSVhsv(240, 71%, 85%)
CMYKcmyk(70.8%, 70.8%, 0%, 15.3%)
CIE-LABlab(37.06, 48.64, -77.74)
CIE-LCHlch(37.06, 91.70, 302.03°)
OKLaboklab(47.79% 0.015 -0.2248)
OKLCHoklch(47.79% 0.225 273.8)
XYZxyz(16.2179, 9.5681, 65.9446)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD8 #D8D83F
analogous
#3F8CD8 #3F3FD8 #8C3FD8
triadic
#3F3FD8 #D83F3F #3FD83F
tetradic
#3F3FD8 #D83F8C #D8D83F #3FD88C
square
#3F3FD8 #D83F8C #D8D83F #3FD88C
split-complementary
#3F3FD8 #D88C3F #8CD83F
monochromatic
#1A1A82 #2525B5 #3F3FD8 #7272E2 #A5A5ED

Accessibility & contrast

On white

7.21
#3F3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3F3FD8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FD8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD8#FFFFFF#000000##FFFFFF
##3F3FD81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDD
Deuteranopia (green-blind)
#0050D5
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f3fd8;
/* rgb */ color: rgb(63, 63, 216);
/* oklch */ color: oklch(47.8% 0.225 273.8);
Tailwind
colors: {
  custom: {
    50: '#8975e5',
    500: '#3f3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd8;
$custom-light: #8975e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd8",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.22531,
    "h": 273.8
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#3F3FD8
secondary
#DADA99
accent
#E93FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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