#3F3FA2#3F3FA2

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

Color values

HEX#3F3FA2
RGBrgb(63, 63, 162)
HSLhsl(240, 44%, 44%)
HSVhsv(240, 61%, 64%)
CMYKcmyk(61.1%, 61.1%, 0%, 36.5%)
CIE-LABlab(32.30, 30.54, -53.76)
CIE-LCHlch(32.30, 61.83, 299.61°)
OKLaboklab(42.88% 0.0205 -0.1546)
OKLCHoklch(42.88% 0.156 277.6)
XYZxyz(10.3469, 7.2196, 35.0237)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FA2 #A2A23F
analogous
#3F71A2 #3F3FA2 #713FA2
triadic
#3F3FA2 #A23F3F #3FA23F
tetradic
#3F3FA2 #A23F71 #A2A23F #3FA271
square
#3F3FA2 #A23F71 #A2A23F #3FA271
split-complementary
#3F3FA2 #A2713F #71A23F
monochromatic
#1D1D4A #2E2E76 #3F3FA2 #5E5EC0 #8A8AD1

Accessibility & contrast

On white

8.59
#3F3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FA2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FA2#FFFFFF#000000##FFFFFF
##3F3FA21.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3fa2;
/* rgb */ color: rgb(63, 63, 162);
/* oklch */ color: oklch(42.9% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f74be',
    500: '#3f3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fa2;
$custom-light: #7f74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fa2",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.15593,
    "h": 277.6
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#3F3FA2
secondary
#BCBC81
accent
#D454D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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