#3F2F9F#3F2F9F

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

Color values

HEX#3F2F9F
RGBrgb(63, 47, 159)
HSLhsl(249, 54%, 40%)
HSVhsv(249, 70%, 62%)
CMYKcmyk(60.4%, 70.4%, 0%, 37.6%)
CIE-LABlab(28.36, 39.38, -58.38)
CIE-LCHlch(28.36, 70.42, 304.00°)
OKLaboklab(39.94% 0.0351 -0.1682)
OKLCHoklch(39.94% 0.172 281.8)
XYZxyz(9.3225, 5.5924, 33.3823)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F9F #8F9F2F
analogous
#2F579F #3F2F9F #772F9F
triadic
#3F2F9F #9F3F2F #2F9F3F
tetradic
#3F2F9F #9F2F57 #8F9F2F #2F9F77
square
#3F2F9F #9F2F57 #8F9F2F #2F9F77
split-complementary
#3F2F9F #9F772F #579F2F
monochromatic
#1A1341 #2C2170 #3F2F9F #5644C8 #8173D6

Accessibility & contrast

On white

9.91
#3F2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F9F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F9F#FFFFFF#000000##FFFFFF
##3F2F9F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2f9f;
/* rgb */ color: rgb(63, 47, 159);
/* oklch */ color: oklch(39.9% 0.172 281.8);
Tailwind
colors: {
  custom: {
    50: '#7f69bc',
    500: '#3f2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f9f;
$custom-light: #7f69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f9f",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 248.571,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.1718,
    "h": 281.8
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#3F2F9F
secondary
#B2BD6D
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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