#3F3697#3F3697

#3F3697 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.153 H 281.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3F3697
RGBrgb(63, 54, 151)
HSLhsl(246, 47%, 40%)
HSVhsv(246, 64%, 59%)
CMYKcmyk(58.3%, 64.2%, 0%, 40.8%)
CIE-LABlab(29.23, 32.53, -52.08)
CIE-LCHlch(29.23, 61.40, 302.00°)
OKLaboklab(40.35% 0.0298 -0.1497)
OKLCHoklch(40.35% 0.153 281.3)
XYZxyz(8.9532, 5.9289, 29.9448)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3697 #8E9736
analogous
#365D97 #3F3697 #6F3697
triadic
#3F3697 #973F36 #36973F
tetradic
#3F3697 #97365D #8E9736 #36976F
square
#3F3697 #97365D #8E9736 #36976F
split-complementary
#3F3697 #976F36 #5D9736
monochromatic
#19163D #2C266A #3F3697 #564BBF #8178CF

Accessibility & contrast

On white

9.61
#3F3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3697
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3697#FFFFFF#000000##FFFFFF
##3F36971.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3697;
/* rgb */ color: rgb(63, 54, 151);
/* oklch */ color: oklch(40.4% 0.153 281.3);
Tailwind
colors: {
  custom: {
    50: '#7d6db6',
    500: '#3f3697',
    950: '#000000',
  },
}
SCSS
$custom: #3f3697;
$custom-light: #7d6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3697",
  "rgb": {
    "r": 63,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 245.567,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40351,
    "c": 0.15262,
    "h": 281.3
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#3F3697
secondary
#B1B871
accent
#D751CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3F3697

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

Preview Lab → · Contrast checker → · Palette generator →

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