#3F3FA4#3F3FA4

#3F3FA4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.159 H 277.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3F3FA4
RGBrgb(63, 63, 164)
HSLhsl(240, 44%, 45%)
HSVhsv(240, 62%, 64%)
CMYKcmyk(61.6%, 61.6%, 0%, 35.7%)
CIE-LABlab(32.46, 31.23, -54.70)
CIE-LCHlch(32.46, 62.99, 299.72°)
OKLaboklab(43.05% 0.0205 -0.1573)
OKLCHoklch(43.05% 0.159 277.4)
XYZxyz(10.5261, 7.2913, 35.9674)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FA4 #A4A43F
analogous
#3F72A4 #3F3FA4 #723FA4
triadic
#3F3FA4 #A43F3F #3FA43F
tetradic
#3F3FA4 #A43F72 #A4A43F #3FA472
square
#3F3FA4 #A43F72 #A4A43F #3FA472
split-complementary
#3F3FA4 #A4723F #72A43F
monochromatic
#1D1D4C #2E2E78 #3F3FA4 #5F5FC1 #8B8BD2

Accessibility & contrast

On white

8.54
#3F3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FA4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FA4#FFFFFF#000000##FFFFFF
##3F3FA41.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3fa4;
/* rgb */ color: rgb(63, 63, 164);
/* oklch */ color: oklch(43.0% 0.159 277.4);
Tailwind
colors: {
  custom: {
    50: '#7f74c0',
    500: '#3f3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fa4;
$custom-light: #7f74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fa4",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.15867,
    "h": 277.4
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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