#3F3FB8#3F3FB8

#3F3FB8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.185 H 275.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3F3FB8
RGBrgb(63, 63, 184)
HSLhsl(240, 49%, 48%)
HSVhsv(240, 66%, 72%)
CMYKcmyk(65.8%, 65.8%, 0%, 27.8%)
CIE-LABlab(34.13, 38.03, -63.90)
CIE-LCHlch(34.13, 74.36, 300.76°)
OKLaboklab(44.79% 0.019 -0.1843)
OKLCHoklch(44.79% 0.185 275.9)
XYZxyz(12.4763, 8.0714, 46.2386)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FB8 #B8B83F
analogous
#3F7BB8 #3F3FB8 #7B3FB8
triadic
#3F3FB8 #B83F3F #3FB83F
tetradic
#3F3FB8 #B83F7B #B8B83F #3FB87B
square
#3F3FB8 #B83F7B #B8B83F #3FB87B
split-complementary
#3F3FB8 #B87B3F #7BB83F
monochromatic
#20205D #2F2F8A #3F3FB8 #6969CC #9696DB

Accessibility & contrast

On white

8.03
#3F3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3F3FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FB8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FB8#FFFFFF#000000##FFFFFF
##3F3FB81.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3fb8;
/* rgb */ color: rgb(63, 63, 184);
/* oklch */ color: oklch(44.8% 0.185 275.9);
Tailwind
colors: {
  custom: {
    50: '#8374ce',
    500: '#3f3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fb8;
$custom-light: #8374ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fb8",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.18532,
    "h": 275.9
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#3F3FB8
secondary
#C7C78C
accent
#D94FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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