#3F3CA4#3F3CA4

#3F3CA4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.163 H 278.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F3CA4
RGBrgb(63, 60, 164)
HSLhsl(242, 46%, 44%)
HSVhsv(242, 63%, 64%)
CMYKcmyk(61.6%, 63.4%, 0%, 35.7%)
CIE-LABlab(31.73, 33.13, -55.89)
CIE-LCHlch(31.73, 64.97, 300.66°)
OKLaboklab(42.51% 0.0232 -0.1608)
OKLCHoklch(42.51% 0.163 278.2)
XYZxyz(10.3644, 6.9680, 35.9136)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CA4 #A1A43C
analogous
#3C6DA4 #3F3CA4 #733CA4
triadic
#3F3CA4 #A43F3C #3CA43F
tetradic
#3F3CA4 #A43C6D #A1A43C #3CA473
square
#3F3CA4 #A43C6D #A1A43C #3CA473
split-complementary
#3F3CA4 #A4733C #6DA43C
monochromatic
#1D1B4A #2E2C77 #3F3CA4 #5D5AC3 #8987D3

Accessibility & contrast

On white

8.77
#3F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CA4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CA4#FFFFFF#000000##FFFFFF
##3F3CA41.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3ca4;
/* rgb */ color: rgb(63, 60, 164);
/* oklch */ color: oklch(42.5% 0.163 278.2);
Tailwind
colors: {
  custom: {
    50: '#7f72c0',
    500: '#3f3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ca4;
$custom-light: #7f72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ca4",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 241.731,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.16251,
    "h": 278.2
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#3F3CA4
secondary
#BCBD7E
accent
#D652D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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