#3F3EB0#3F3EB0

#3F3EB0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.176 H 276.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3F3EB0
RGBrgb(63, 62, 176)
HSLhsl(241, 48%, 47%)
HSVhsv(241, 65%, 69%)
CMYKcmyk(64.2%, 64.8%, 0%, 31%)
CIE-LABlab(33.21, 35.94, -60.66)
CIE-LCHlch(33.21, 70.50, 300.65°)
OKLaboklab(43.91% 0.0206 -0.1748)
OKLCHoklch(43.91% 0.176 276.7)
XYZxyz(11.6064, 7.6356, 41.9281)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EB0 #AFB03E
analogous
#3E76B0 #3F3EB0 #783EB0
triadic
#3F3EB0 #B03F3E #3EB03F
tetradic
#3F3EB0 #B03E76 #AFB03E #3EB078
square
#3F3EB0 #B03E76 #AFB03E #3EB078
split-complementary
#3F3EB0 #B0783E #76B03E
monochromatic
#1F1E55 #2F2E83 #3F3EB0 #6463C8 #9190D8

Accessibility & contrast

On white

8.31
#3F3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EB0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EB0#FFFFFF#000000##FFFFFF
##3F3EB01.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3eb0;
/* rgb */ color: rgb(63, 62, 176);
/* oklch */ color: oklch(43.9% 0.176 276.7);
Tailwind
colors: {
  custom: {
    50: '#8174c9',
    500: '#3f3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eb0;
$custom-light: #8174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eb0",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 240.526,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.17605,
    "h": 276.7
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#3F3EB0
secondary
#C3C387
accent
#D750D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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