#3F2FA5#3F2FA5

#3F2FA5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.179 H 280.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA5
RGBrgb(63, 47, 165)
HSLhsl(248, 56%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(61.8%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.92, 41.30, -61.10)
CIE-LCHlch(28.92, 73.74, 304.05°)
OKLaboklab(40.5% 0.034 -0.1761)
OKLCHoklch(40.5% 0.179 280.9)
XYZxyz(9.8558, 5.8057, 36.1913)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA5 #95A52F
analogous
#2F5AA5 #3F2FA5 #7A2FA5
triadic
#3F2FA5 #A53F2F #2FA53F
tetradic
#3F2FA5 #A52F5A #95A52F #2FA57A
square
#3F2FA5 #A52F5A #95A52F #2FA57A
split-complementary
#3F2FA5 #A57A2F #5AA52F
monochromatic
#1B1446 #2D2175 #3F2FA5 #5947CB #8476D8

Accessibility & contrast

On white

9.72
#3F2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3F2FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FA5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA5#FFFFFF#000000##FFFFFF
##3F2FA51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2fa5;
/* rgb */ color: rgb(63, 47, 165);
/* oklch */ color: oklch(40.5% 0.179 280.9);
Tailwind
colors: {
  custom: {
    50: '#8069c1',
    500: '#3f2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa5;
$custom-light: #8069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa5",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 248.136,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.17939,
    "h": 280.9
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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