#3F3FB3#3F3FB3

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

Color values

HEX#3F3FB3
RGBrgb(63, 63, 179)
HSLhsl(240, 48%, 47%)
HSVhsv(240, 65%, 70%)
CMYKcmyk(64.8%, 64.8%, 0%, 29.8%)
CIE-LABlab(33.70, 36.34, -61.64)
CIE-LCHlch(33.70, 71.55, 300.52°)
OKLaboklab(44.34% 0.0195 -0.1777)
OKLCHoklch(44.34% 0.179 276.3)
XYZxyz(11.9614, 7.8654, 43.5269)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FB3 #B3B33F
analogous
#3F79B3 #3F3FB3 #793FB3
triadic
#3F3FB3 #B33F3F #3FB33F
tetradic
#3F3FB3 #B33F79 #B3B33F #3FB379
square
#3F3FB3 #B33F79 #B3B33F #3FB379
split-complementary
#3F3FB3 #B3793F #79B33F
monochromatic
#1F1F58 #2F2F86 #3F3FB3 #6666C9 #9393D9

Accessibility & contrast

On white

8.16
#3F3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FB3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FB3#FFFFFF#000000##FFFFFF
##3F3FB31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3fb3;
/* rgb */ color: rgb(63, 63, 179);
/* oklch */ color: oklch(44.3% 0.179 276.3);
Tailwind
colors: {
  custom: {
    50: '#8274cb',
    500: '#3f3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fb3;
$custom-light: #8274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fb3",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.17879,
    "h": 276.3
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#3F3FB3
secondary
#C4C489
accent
#D850D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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