#3F3FD9#3F3FD9

#3F3FD9 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.9% C 0.227 H 273.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3F3FD9
RGBrgb(63, 63, 217)
HSLhsl(240, 67%, 55%)
HSVhsv(240, 71%, 85%)
CMYKcmyk(71%, 71%, 0%, 14.9%)
CIE-LABlab(37.15, 48.96, -78.16)
CIE-LCHlch(37.15, 92.23, 302.07°)
OKLaboklab(47.88% 0.0148 -0.226)
OKLCHoklch(47.88% 0.227 273.7)
XYZxyz(16.3476, 9.6199, 66.6275)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD9 #D9D93F
analogous
#3F8CD9 #3F3FD9 #8C3FD9
triadic
#3F3FD9 #D93F3F #3FD93F
tetradic
#3F3FD9 #D93F8C #D9D93F #3FD98C
square
#3F3FD9 #D93F8C #D9D93F #3FD98C
split-complementary
#3F3FD9 #D98C3F #8CD93F
monochromatic
#1A1A84 #2424B7 #3F3FD9 #7272E3 #A5A5ED

Accessibility & contrast

On white

7.18
#3F3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3F3FD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FD9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD9#FFFFFF#000000##FFFFFF
##3F3FD91.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0050D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f3fd9;
/* rgb */ color: rgb(63, 63, 217);
/* oklch */ color: oklch(47.9% 0.227 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a75e6',
    500: '#3f3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd9;
$custom-light: #8a75e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd9",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.22651,
    "h": 273.7
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#3F3FD9
secondary
#DADA9A
accent
#EA3EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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