#3F3EA4#3F3EA4

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

Color values

HEX#3F3EA4
RGBrgb(63, 62, 164)
HSLhsl(241, 45%, 44%)
HSVhsv(241, 62%, 64%)
CMYKcmyk(61.6%, 62.2%, 0%, 35.7%)
CIE-LABlab(32.22, 31.86, -55.10)
CIE-LCHlch(32.22, 63.65, 300.04°)
OKLaboklab(42.87% 0.0214 -0.1585)
OKLCHoklch(42.87% 0.16 277.7)
XYZxyz(10.4712, 7.1816, 35.9491)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EA4 #A3A43E
analogous
#3E70A4 #3F3EA4 #723EA4
triadic
#3F3EA4 #A43F3E #3EA43F
tetradic
#3F3EA4 #A43E70 #A3A43E #3EA472
square
#3F3EA4 #A43E70 #A3A43E #3EA472
split-complementary
#3F3EA4 #A4723E #70A43E
monochromatic
#1D1C4B #2E2D78 #3F3EA4 #5E5DC2 #8A8AD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F3EA4#FFFFFF#000000##FFFFFF
##3F3EA41.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)
#0050A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3ea4;
/* rgb */ color: rgb(63, 62, 164);
/* oklch */ color: oklch(42.9% 0.160 277.7);
Tailwind
colors: {
  custom: {
    50: '#7f73c0',
    500: '#3f3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ea4;
$custom-light: #7f73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ea4",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 240.588,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.15996,
    "h": 277.7
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#3F3EA4
secondary
#BDBD81
accent
#D553D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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