#3F3EA5#3F3EA5

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

Color values

HEX#3F3EA5
RGBrgb(63, 62, 165)
HSLhsl(241, 45%, 45%)
HSVhsv(241, 62%, 65%)
CMYKcmyk(61.8%, 62.4%, 0%, 35.3%)
CIE-LABlab(32.30, 32.20, -55.57)
CIE-LCHlch(32.30, 64.23, 300.09°)
OKLaboklab(42.95% 0.0213 -0.1599)
OKLCHoklch(42.95% 0.161 277.6)
XYZxyz(10.5619, 7.2178, 36.4266)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EA5 #A4A53E
analogous
#3E70A5 #3F3EA5 #733EA5
triadic
#3F3EA5 #A53F3E #3EA53F
tetradic
#3F3EA5 #A53E70 #A4A53E #3EA573
square
#3F3EA5 #A53E70 #A4A53E #3EA573
split-complementary
#3F3EA5 #A5733E #70A53E
monochromatic
#1D1D4C #2E2D79 #3F3EA5 #5F5EC2 #8B8AD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F3EA5#FFFFFF#000000##FFFFFF
##3F3EA51.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)
#0050A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3ea5;
/* rgb */ color: rgb(63, 62, 165);
/* oklch */ color: oklch(43.0% 0.161 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f73c1',
    500: '#3f3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ea5;
$custom-light: #7f73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ea5",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 240.583,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.16132,
    "h": 277.6
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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