#3F3FA1#3F3FA1

#3F3FA1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.155 H 277.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3F3FA1
RGBrgb(63, 63, 161)
HSLhsl(240, 44%, 44%)
HSVhsv(240, 61%, 63%)
CMYKcmyk(60.9%, 60.9%, 0%, 36.9%)
CIE-LABlab(32.22, 30.20, -53.28)
CIE-LCHlch(32.22, 61.25, 299.55°)
OKLaboklab(42.8% 0.0206 -0.1532)
OKLCHoklch(42.8% 0.155 277.6)
XYZxyz(10.2584, 7.1842, 34.5574)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FA1 #A1A13F
analogous
#3F70A1 #3F3FA1 #703FA1
triadic
#3F3FA1 #A13F3F #3FA13F
tetradic
#3F3FA1 #A13F70 #A1A13F #3FA170
square
#3F3FA1 #A13F70 #A1A13F #3FA170
split-complementary
#3F3FA1 #A1703F #70A13F
monochromatic
#1D1D49 #2E2E75 #3F3FA1 #5D5DC0 #8989D1

Accessibility & contrast

On white

8.62
#3F3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FA1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FA1#FFFFFF#000000##FFFFFF
##3F3FA11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3fa1;
/* rgb */ color: rgb(63, 63, 161);
/* oklch */ color: oklch(42.8% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#7e74be',
    500: '#3f3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fa1;
$custom-light: #7e74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fa1",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.15455,
    "h": 277.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#3F3FA1
secondary
#BCBC80
accent
#D354D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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