#3F3597#3F3597

#3F3597 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.154 H 281.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3F3597
RGBrgb(63, 53, 151)
HSLhsl(246, 48%, 40%)
HSVhsv(246, 65%, 59%)
CMYKcmyk(58.3%, 64.9%, 0%, 40.8%)
CIE-LABlab(29.00, 33.16, -52.46)
CIE-LCHlch(29.00, 62.06, 302.30°)
OKLaboklab(40.18% 0.0308 -0.1508)
OKLCHoklch(40.18% 0.154 281.5)
XYZxyz(8.9072, 5.8368, 29.9294)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3597 #8D9735
analogous
#355C97 #3F3597 #703597
triadic
#3F3597 #973F35 #35973F
tetradic
#3F3597 #97355C #8D9735 #359770
square
#3F3597 #97355C #8D9735 #359770
split-complementary
#3F3597 #977035 #5C9735
monochromatic
#19153C #2C256A #3F3597 #564ABF #8077CF

Accessibility & contrast

On white

9.69
#3F3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3597
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3597#FFFFFF#000000##FFFFFF
##3F35971.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#0E4D61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f3597;
/* rgb */ color: rgb(63, 53, 151);
/* oklch */ color: oklch(40.2% 0.154 281.5);
Tailwind
colors: {
  custom: {
    50: '#7d6db6',
    500: '#3f3597',
    950: '#000000',
  },
}
SCSS
$custom: #3f3597;
$custom-light: #7d6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3597",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 246.122,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.15392,
    "h": 281.5
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#3F3597
secondary
#B1B870
accent
#D850CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3F3597

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

Preview Lab → · Contrast checker → · Palette generator →

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