#3F2FA2#3F2FA2

#3F2FA2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.176 H 281.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA2
RGBrgb(63, 47, 162)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(61.1%, 71%, 0%, 36.5%)
CIE-LABlab(28.64, 40.34, -59.74)
CIE-LCHlch(28.64, 72.09, 304.03°)
OKLaboklab(40.22% 0.0346 -0.1722)
OKLCHoklch(40.22% 0.176 281.3)
XYZxyz(9.5860, 5.6978, 34.7700)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA2 #92A22F
analogous
#2F58A2 #3F2FA2 #782FA2
triadic
#3F2FA2 #A23F2F #2FA23F
tetradic
#3F2FA2 #A22F58 #92A22F #2FA278
square
#3F2FA2 #A22F58 #92A22F #2FA278
split-complementary
#3F2FA2 #A2782F #58A22F
monochromatic
#1A1343 #2D2173 #3F2FA2 #5745C9 #8275D7

Accessibility & contrast

On white

9.81
#3F2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F2FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FA2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA2#FFFFFF#000000##FFFFFF
##3F2FA21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2fa2;
/* rgb */ color: rgb(63, 47, 162);
/* oklch */ color: oklch(40.2% 0.176 281.3);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3f2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa2;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa2",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 248.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.17561,
    "h": 281.3
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#3F2FA2
secondary
#B3BF6E
accent
#DE49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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