#3F3A91#3F3A91

#3F3A91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.139 H 280.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3F3A91
RGBrgb(63, 58, 145)
HSLhsl(243, 43%, 40%)
HSVhsv(243, 60%, 57%)
CMYKcmyk(56.6%, 60%, 0%, 43.1%)
CIE-LABlab(29.73, 27.98, -47.59)
CIE-LCHlch(29.73, 55.21, 300.46°)
OKLaboklab(40.57% 0.026 -0.1365)
OKLCHoklch(40.57% 0.139 280.8)
XYZxyz(8.6722, 6.1267, 27.5082)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3A91 #8C913A
analogous
#3A6191 #3F3A91 #6A3A91
triadic
#3F3A91 #913F3A #3A913F
tetradic
#3F3A91 #913A61 #8C913A #3A916A
square
#3F3A91 #913A61 #8C913A #3A916A
split-complementary
#3F3A91 #916A3A #61913A
monochromatic
#19173A #2C2965 #3F3A91 #554FB9 #807BCA

Accessibility & contrast

On white

9.44
#3F3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3A91
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3A91#FFFFFF#000000##FFFFFF
##3F3A911.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#174F5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f3a91;
/* rgb */ color: rgb(63, 58, 145);
/* oklch */ color: oklch(40.6% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#7c70b2',
    500: '#3f3a91',
    950: '#000000',
  },
}
SCSS
$custom: #3f3a91;
$custom-light: #7c70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3a91",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 243.448,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.13893,
    "h": 280.8
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#3F3A91
secondary
#B0B473
accent
#D355CB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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