#3F3EB8#3F3EB8

#3F3EB8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.186 H 276.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3F3EB8
RGBrgb(63, 62, 184)
HSLhsl(240, 50%, 48%)
HSVhsv(240, 66%, 72%)
CMYKcmyk(65.8%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.90, 38.64, -64.27)
CIE-LCHlch(33.90, 74.99, 301.01°)
OKLaboklab(44.62% 0.0198 -0.1854)
OKLCHoklch(44.62% 0.186 276.1)
XYZxyz(12.4214, 7.9616, 46.2203)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EB8 #B7B83E
analogous
#3E7AB8 #3F3EB8 #7C3EB8
triadic
#3F3EB8 #B83F3E #3EB83F
tetradic
#3F3EB8 #B83E7A #B7B83E #3EB87C
square
#3F3EB8 #B83E7A #B7B83E #3EB87C
split-complementary
#3F3EB8 #B87C3E #7AB83E
monochromatic
#201F5C #2F2F8A #3F3EB8 #6867CC #9695DB

Accessibility & contrast

On white

8.10
#3F3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EB8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EB8#FFFFFF#000000##FFFFFF
##3F3EB81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3eb8;
/* rgb */ color: rgb(63, 62, 184);
/* oklch */ color: oklch(44.6% 0.186 276.1);
Tailwind
colors: {
  custom: {
    50: '#8374ce',
    500: '#3f3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eb8;
$custom-light: #8374ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eb8",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 240.492,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.18648,
    "h": 276.1
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#3F3EB8
secondary
#C6C78B
accent
#D94FD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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