#3F2FA6#3F2FA6

#3F2FA6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.181 H 280.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA6
RGBrgb(63, 47, 166)
HSLhsl(248, 56%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(62%, 71.7%, 0%, 34.9%)
CIE-LABlab(29.01, 41.61, -61.55)
CIE-LCHlch(29.01, 74.30, 304.06°)
OKLaboklab(40.6% 0.0338 -0.1775)
OKLCHoklch(40.6% 0.181 280.8)
XYZxyz(9.9472, 5.8422, 36.6725)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA6 #96A62F
analogous
#2F5BA6 #3F2FA6 #7B2FA6
triadic
#3F2FA6 #A63F2F #2FA63F
tetradic
#3F2FA6 #A62F5B #96A62F #2FA67B
square
#3F2FA6 #A62F5B #96A62F #2FA67B
split-complementary
#3F2FA6 #A67B2F #5BA62F
monochromatic
#1B1447 #2D2176 #3F2FA6 #5947CB #8477D8

Accessibility & contrast

On white

9.68
#3F2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2FA6
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA6#FFFFFF#000000##FFFFFF
##3F2FA61.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2fa6;
/* rgb */ color: rgb(63, 47, 166);
/* oklch */ color: oklch(40.6% 0.181 280.8);
Tailwind
colors: {
  custom: {
    50: '#8169c1',
    500: '#3f2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa6;
$custom-light: #8169c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa6",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 248.067,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.406,
    "c": 0.18065,
    "h": 280.8
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#3F2FA6
secondary
#B6C170
accent
#DF49CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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