#3F3A97#3F3A97

#3F3A97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.147 H 280.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3F3A97
RGBrgb(63, 58, 151)
HSLhsl(243, 44%, 41%)
HSVhsv(243, 62%, 59%)
CMYKcmyk(58.3%, 61.6%, 0%, 40.8%)
CIE-LABlab(30.20, 30.00, -50.50)
CIE-LCHlch(30.20, 58.74, 300.71°)
OKLaboklab(41.06% 0.0259 -0.145)
OKLCHoklch(41.06% 0.147 280.1)
XYZxyz(9.1471, 6.3166, 30.0094)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3A97 #92973A
analogous
#3A6397 #3F3A97 #6D3A97
triadic
#3F3A97 #973F3A #3A973F
tetradic
#3F3A97 #973A63 #92973A #3A976D
square
#3F3A97 #973A63 #92973A #3A976D
split-complementary
#3F3A97 #976D3A #63973A
monochromatic
#1A183F #2D296B #3F3A97 #5752BC #827ECD

Accessibility & contrast

On white

9.28
#3F3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F3A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3A97
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3A97#FFFFFF#000000##FFFFFF
##3F3A971.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#0C5063
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f3a97;
/* rgb */ color: rgb(63, 58, 151);
/* oklch */ color: oklch(41.1% 0.147 280.1);
Tailwind
colors: {
  custom: {
    50: '#7d70b6',
    500: '#3f3a97',
    950: '#000000',
  },
}
SCSS
$custom: #3f3a97;
$custom-light: #7d70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3a97",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 243.226,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.14733,
    "h": 280.1
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#3F3A97
secondary
#B3B776
accent
#D454CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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