#3F3FB2#3F3FB2

#3F3FB2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.177 H 276.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3F3FB2
RGBrgb(63, 63, 178)
HSLhsl(240, 48%, 47%)
HSVhsv(240, 65%, 70%)
CMYKcmyk(64.6%, 64.6%, 0%, 30.2%)
CIE-LABlab(33.62, 36.00, -61.19)
CIE-LCHlch(33.62, 70.99, 300.47°)
OKLaboklab(44.25% 0.0196 -0.1764)
OKLCHoklch(44.25% 0.177 276.3)
XYZxyz(11.8607, 7.8251, 42.9962)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FB2 #B2B23F
analogous
#3F79B2 #3F3FB2 #793FB2
triadic
#3F3FB2 #B23F3F #3FB23F
tetradic
#3F3FB2 #B23F79 #B2B23F #3FB279
square
#3F3FB2 #B23F79 #B2B23F #3FB279
split-complementary
#3F3FB2 #B2793F #79B23F
monochromatic
#1F1F58 #2F2F85 #3F3FB2 #6666C9 #9393D9

Accessibility & contrast

On white

8.19
#3F3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FB2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FB2#FFFFFF#000000##FFFFFF
##3F3FB21.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3fb2;
/* rgb */ color: rgb(63, 63, 178);
/* oklch */ color: oklch(44.3% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#8274ca',
    500: '#3f3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fb2;
$custom-light: #8274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fb2",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.17747,
    "h": 276.3
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#3F3FB2
secondary
#C4C489
accent
#D750D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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