#3F3299#3F3299

#3F3299 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.160 H 282.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3F3299
RGBrgb(63, 50, 153)
HSLhsl(248, 51%, 40%)
HSVhsv(248, 67%, 60%)
CMYKcmyk(58.8%, 67.3%, 0%, 40%)
CIE-LABlab(28.48, 35.66, -54.53)
CIE-LCHlch(28.48, 65.15, 303.18°)
OKLaboklab(39.86% 0.0334 -0.1569)
OKLCHoklch(39.86% 0.16 282)
XYZxyz(8.9385, 5.6373, 30.7479)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3299 #8C9932
analogous
#325899 #3F3299 #733299
triadic
#3F3299 #993F32 #32993F
tetradic
#3F3299 #993258 #8C9932 #329973
square
#3F3299 #993258 #8C9932 #329973
split-complementary
#3F3299 #997332 #589932
monochromatic
#19143D #2C236B #3F3299 #5546C2 #8074D2

Accessibility & contrast

On white

9.87
#3F3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3299
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3299#FFFFFF#000000##FFFFFF
##3F32991.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#0A4C61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f3299;
/* rgb */ color: rgb(63, 50, 153);
/* oklch */ color: oklch(39.9% 0.160 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bb8',
    500: '#3f3299',
    950: '#000000',
  },
}
SCSS
$custom: #3f3299;
$custom-light: #7e6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3299",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 247.573,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.16041,
    "h": 282
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#3F3299
secondary
#B0BA6D
accent
#DA4EC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3F3299

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

Preview Lab → · Contrast checker → · Palette generator →

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