#3F3587#3F3587

#3F3587 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.132 H 284.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3F3587
RGBrgb(63, 53, 135)
HSLhsl(247, 44%, 37%)
HSVhsv(247, 61%, 53%)
CMYKcmyk(53.3%, 60.7%, 0%, 47.1%)
CIE-LABlab(27.71, 27.88, -44.67)
CIE-LCHlch(27.71, 52.66, 301.96°)
OKLaboklab(38.84% 0.0318 -0.1279)
OKLCHoklch(38.84% 0.132 284)
XYZxyz(7.6949, 5.3518, 23.5445)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3587 #7D8735
analogous
#355487 #3F3587 #683587
triadic
#3F3587 #873F35 #35873F
tetradic
#3F3587 #873554 #7D8735 #358768
square
#3F3587 #873554 #7D8735 #358768
split-complementary
#3F3587 #876835 #548735
monochromatic
#16122F #2A245B #3F3587 #5446B3 #7A70C7

Accessibility & contrast

On white

10.14
#3F3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3587
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3587#FFFFFF#000000##FFFFFF
##3F35871.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#224858
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f3587;
/* rgb */ color: rgb(63, 53, 135);
/* oklch */ color: oklch(38.8% 0.132 284.0);
Tailwind
colors: {
  custom: {
    50: '#7b6cab',
    500: '#3f3587',
    950: '#000000',
  },
}
SCSS
$custom: #3f3587;
$custom-light: #7b6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3587",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 247.317,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38838,
    "c": 0.13181,
    "h": 284
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#3F3587
secondary
#A6AF69
accent
#D354C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F3587

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

Preview Lab → · Contrast checker → · Palette generator →

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