#3F3FD2#3F3FD2

#3F3FD2 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.218 H 274.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F3FD2
RGBrgb(63, 63, 210)
HSLhsl(240, 62%, 54%)
HSVhsv(240, 70%, 82%)
CMYKcmyk(70%, 70%, 0%, 17.6%)
CIE-LABlab(36.49, 46.68, -75.22)
CIE-LCHlch(36.49, 88.52, 301.82°)
OKLaboklab(47.21% 0.0159 -0.2174)
OKLCHoklch(47.21% 0.218 274.2)
XYZxyz(15.4564, 9.2634, 61.9337)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FD2 #D2D23F
analogous
#3F88D2 #3F3FD2 #883FD2
triadic
#3F3FD2 #D23F3F #3FD23F
tetradic
#3F3FD2 #D23F88 #D2D23F #3FD288
square
#3F3FD2 #D23F88 #D2D23F #3FD288
split-complementary
#3F3FD2 #D2883F #88D23F
monochromatic
#1D1D7A #2828AC #3F3FD2 #7171DE #A2A2E9

Accessibility & contrast

On white

7.36
#3F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F3FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FD2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FD2#FFFFFF#000000##FFFFFF
##3F3FD21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#004FCF
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f3fd2;
/* rgb */ color: rgb(63, 63, 210);
/* oklch */ color: oklch(47.2% 0.218 274.2);
Tailwind
colors: {
  custom: {
    50: '#8875e1',
    500: '#3f3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fd2;
$custom-light: #8875e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fd2",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47208,
    "c": 0.21803,
    "h": 274.2
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#3F3FD2
secondary
#D6D697
accent
#E543E5
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3F3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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