#3F3FAC#3F3FAC

#3F3FAC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.170 H 276.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3F3FAC
RGBrgb(63, 63, 172)
HSLhsl(240, 46%, 46%)
HSVhsv(240, 63%, 67%)
CMYKcmyk(63.4%, 63.4%, 0%, 32.5%)
CIE-LABlab(33.11, 33.96, -58.43)
CIE-LCHlch(33.11, 67.58, 300.16°)
OKLaboklab(43.73% 0.02 -0.1683)
OKLCHoklch(43.73% 0.17 276.8)
XYZxyz(11.2714, 7.5894, 39.8927)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FAC #ACAC3F
analogous
#3F75AC #3F3FAC #753FAC
triadic
#3F3FAC #AC3F3F #3FAC3F
tetradic
#3F3FAC #AC3F75 #ACAC3F #3FAC75
square
#3F3FAC #AC3F75 #ACAC3F #3FAC75
split-complementary
#3F3FAC #AC753F #75AC3F
monochromatic
#1E1E52 #2F2F7F #3F3FAC #6363C6 #8F8FD6

Accessibility & contrast

On white

8.34
#3F3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FAC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FAC#FFFFFF#000000##FFFFFF
##3F3FAC1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3fac;
/* rgb */ color: rgb(63, 63, 172);
/* oklch */ color: oklch(43.7% 0.170 276.8);
Tailwind
colors: {
  custom: {
    50: '#8074c6',
    500: '#3f3fac',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fac;
$custom-light: #8074c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fac",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.1695,
    "h": 276.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#3F3FAC
secondary
#C1C186
accent
#D652D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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