#3F2BA4#3F2BA4

#3F2BA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.182 H 281.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F2BA4
RGBrgb(63, 43, 164)
HSLhsl(250, 58%, 41%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(61.6%, 73.8%, 0%, 35.7%)
CIE-LABlab(28.02, 43.22, -61.97)
CIE-LCHlch(28.02, 75.55, 304.89°)
OKLaboklab(39.84% 0.0372 -0.1787)
OKLCHoklch(39.84% 0.183 281.8)
XYZxyz(9.6125, 5.4642, 35.6629)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA4 #90A42B
analogous
#2B54A4 #3F2BA4 #7B2BA4
triadic
#3F2BA4 #A43F2B #2BA43F
tetradic
#3F2BA4 #A42B54 #90A42B #2BA47B
square
#3F2BA4 #A42B54 #90A42B #2BA47B
split-complementary
#3F2BA4 #A47B2B #54A42B
monochromatic
#1A1243 #2C1E74 #3F2BA4 #573FCD #8170D9

Accessibility & contrast

On white

10.03
#3F2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BA4
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BA4#FFFFFF#000000##FFFFFF
##3F2BA41.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ba4;
/* rgb */ color: rgb(63, 43, 164);
/* oklch */ color: oklch(39.8% 0.182 281.8);
Tailwind
colors: {
  custom: {
    50: '#8167c0',
    500: '#3f2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba4;
$custom-light: #8167c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba4",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 249.917,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.1825,
    "h": 281.8
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#3F2BA4
secondary
#B2C16A
accent
#E246C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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